From: Petr Uzel Date: Fri, 1 Jul 2011 13:51:44 +0000 (+0200) Subject: mount: make the error message clear X-Git-Tag: v2.20-rc1~107 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=702e4aa3f4389a39dab83e4ecaa42451366280d0;p=thirdparty%2Futil-linux.git mount: make the error message clear Reported-by: Micah Anderson Addresses: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=558653 Signed-off-by: Petr Uzel --- diff --git a/mount/mount.c b/mount/mount.c index 00637f52bc..cb04d9d36e 100644 --- a/mount/mount.c +++ b/mount/mount.c @@ -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"),