mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Remove redundant code left over on removal of /dev/rXXX handling
in r1.12.
This commit is contained in:
parent
3f6c47f3ec
commit
5306a1eccb
1 changed files with 0 additions and 2 deletions
|
|
@ -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 a new issue