aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util-linux/mount.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index c2b508e5b..e1372ead5 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -1999,10 +1999,12 @@ int mount_main(int argc UNUSED_PARAM, char **argv)
1999 // "/" may have fsname of "/dev/root" while fstab 1999 // "/" may have fsname of "/dev/root" while fstab
2000 // says "/dev/something_else". 2000 // says "/dev/something_else".
2001 if (mp) { 2001 if (mp) {
2002 bb_error_msg("according to %s, " 2002 if (verbose) {
2003 "%s is already mounted on %s", 2003 bb_error_msg("according to %s, "
2004 bb_path_mtab_file, 2004 "%s is already mounted on %s",
2005 mp->mnt_fsname, mp->mnt_dir); 2005 bb_path_mtab_file,
2006 mp->mnt_fsname, mp->mnt_dir);
2007 }
2006 } else { 2008 } else {
2007 // ...mount this thing 2009 // ...mount this thing
2008 if (singlemount(mtcur, /*ignore_busy:*/ 1)) { 2010 if (singlemount(mtcur, /*ignore_busy:*/ 1)) {