1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-29 08:08:37 +00:00

Remove redundant code left over on removal of /dev/rXXX handling

in r1.12.
This commit is contained in:
Robert Nordier 2000-08-15 18:04:16 +00:00
parent 3f6c47f3ec
commit 5306a1eccb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=64685

View File

@ -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);
}