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.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sbin/mount/mount_ufs.c b/sbin/mount/mount_ufs.c
index f999db882538..15cabb22f92d 100644
--- a/sbin/mount/mount_ufs.c
+++ b/sbin/mount/mount_ufs.c
@@ -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);