mount.exe's error message

Gerrit P. Haase freeweb@nyckelpiga.de
Tue Aug 28 09:10:00 GMT 2001


Hi,

I think this error message is not 'correct'.

$ mount -s -b
mount: too many arguments
[...]

diff -ur src/winsup/utils/mount.cc src-patched/winsup/utils/mount.cc
--- src/winsup/utils/mount.cc	Tue Aug 28 14:19:39 2001
+++ src-patched/winsup/utils/mount.cc	Tue Aug 28 15:53:50 2001
@@ -214,7 +214,7 @@
     default:
       if (optind != (argc - 1))
     {
-      fprintf (stderr, "%s: too many arguments\n", progname);
+      fprintf (stderr, "%s: too few arguments\n", progname);
       usage ();
     }
       if (force || !mount_already_exists (argv[optind + 1], flags))


Gerrit


-- 
gerrit.haase@convey.de



More information about the Cygwin-patches mailing list