diff options
author | rnordier <rnordier@FreeBSD.org> | 2000-08-15 18:04:16 +0000 |
---|---|---|
committer | rnordier <rnordier@FreeBSD.org> | 2000-08-15 18:04:16 +0000 |
commit | dad09ef439a4fe770e915fd51421bfcb2635d8fd (patch) | |
tree | 6513396f1e988b78532229ff62d0960e876a1cad /sbin | |
parent | b4ef1cd578c41f9d2bf091eff7c199390d3c2923 (diff) | |
download | FreeBSD-src-dad09ef439a4fe770e915fd51421bfcb2635d8fd.zip FreeBSD-src-dad09ef439a4fe770e915fd51421bfcb2635d8fd.tar.gz |
Remove redundant code left over on removal of /dev/rXXX handling
in r1.12.
Diffstat (limited to 'sbin')
-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 aeae025..d6648fc 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); } |