mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Always print out the target device when the mount fails, not just on
ENOENT.
This commit is contained in:
parent
34f9ca0908
commit
20ee96993b
1 changed files with 1 additions and 4 deletions
|
|
@ -137,11 +137,8 @@ mount_ufs(argc, argv)
|
|||
warnx("%s on %s: incorrect super block",
|
||||
args.fspec, fs_name);
|
||||
break;
|
||||
case ENOENT:
|
||||
warn("%s", args.fspec);
|
||||
break;
|
||||
default:
|
||||
warn(NULL);
|
||||
warn("%s", args.fspec);
|
||||
break;
|
||||
}
|
||||
return (1);
|
||||
|
|
|
|||
Loading…
Reference in a new issue