summaryrefslogtreecommitdiffstats
path: root/sys-utils/mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys-utils/mount.c')
-rw-r--r--sys-utils/mount.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys-utils/mount.c b/sys-utils/mount.c
index 0c74ed900..ebdfe885d 100644
--- a/sys-utils/mount.c
+++ b/sys-utils/mount.c
@@ -385,6 +385,11 @@ try_readonly:
warnx(_("can't find mount source %s in %s"),
src, mnt_get_fstab_path());
return MOUNT_EX_USAGE;
+ case -MNT_ERR_AMBIFS:
+ warnx(_("%s: more filesystems detected. This should not happen,\n"
+ " use -t <type> to explicitly specify the filesystem type or\n"
+ " use wipefs(8) to clean up the device."), src);
+ return MOUNT_EX_USAGE;
case -MNT_ERR_NOFSTYPE:
if (restricted)
warnx(_("I could not determine the filesystem type, "