diff options
| author | Robert Nordier <rnordier@FreeBSD.org> | 2000-08-15 18:04:16 +0000 |
|---|---|---|
| committer | Robert Nordier <rnordier@FreeBSD.org> | 2000-08-15 18:04:16 +0000 |
| commit | 5306a1eccbca6ecff2bf04a65393d5c1cc0e5d5c (patch) | |
| tree | 33ca36c28572247ea374d1af1c5b3e4e1a2493b5 | |
| parent | 3f6c47f3ecdcbc1c18011b493764994b63a5f0ed (diff) | |
Notes
| -rw-r--r-- | sbin/newfs_msdos/newfs_msdos.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sbin/newfs_msdos/newfs_msdos.c b/sbin/newfs_msdos/newfs_msdos.c index aeae025b0763..d6648fcad44e 100644 --- a/sbin/newfs_msdos/newfs_msdos.c +++ b/sbin/newfs_msdos/newfs_msdos.c @@ -337,8 +337,6 @@ main(int argc, char *argv[]) fname = *argv++; if (!strchr(fname, '/')) { snprintf(buf, sizeof(buf), "%s%s", _PATH_DEV, fname); - if (stat(buf, &sb)) - snprintf(buf, sizeof(buf), "%s%s", _PATH_DEV, fname); if (!(fname = strdup(buf))) err(1, NULL); } |
