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:
parent
3f6c47f3ec
commit
5306a1eccb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=64685
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user