Always print out the target device when the mount fails, not just on
ENOENT.
This commit is contained in:
parent
34f9ca0908
commit
20ee96993b
@ -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…
x
Reference in New Issue
Block a user