aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount/mount_ufs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/mount/mount_ufs.c')
-rw-r--r--sbin/mount/mount_ufs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sbin/mount/mount_ufs.c b/sbin/mount/mount_ufs.c
index 18180b86d4a9..f999db882538 100644
--- a/sbin/mount/mount_ufs.c
+++ b/sbin/mount/mount_ufs.c
@@ -137,6 +137,9 @@ 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);
break;