]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
mount: make the error message clear
authorPetr Uzel <petr.uzel@suse.cz>
Fri, 1 Jul 2011 13:51:44 +0000 (15:51 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 11 Jul 2011 09:56:09 +0000 (11:56 +0200)
Reported-by: Micah Anderson <micah@debian.org>
Addresses: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=558653
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
mount/mount.c

index 00637f52bc476adb26cdf33965148a7111177653..cb04d9d36e5689f20882f65506d3a71f2353f382 100644 (file)
@@ -1765,7 +1765,7 @@ try_mount_one (const char *spec0, const char *node0, const char *types0,
       unsigned long long size = 0;
 
       if (flags & MS_REMOUNT) {
-       error (_("mount: %s not mounted already, or bad option"), node);
+       error (_("mount: %s not mounted or bad option"), node);
       } else {
        error (_("mount: wrong fs type, bad option, bad superblock on %s,\n"
               "       missing codepage or helper program, or other error"),