Always print out the target device when the mount fails, not just on

ENOENT.
This commit is contained in:
Brian S. Dean 2001-01-25 20:03:38 +00:00
parent 34f9ca0908
commit 20ee96993b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71651

View File

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