This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

mount.exe's error message


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]