This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
mount.exe's error message
- To: cygwin-patches at cygwin dot com
- Subject: mount.exe's error message
- From: "Gerrit P. Haase" <freeweb at nyckelpiga dot de>
- Date: Tue, 28 Aug 2001 18:05:36 +0200
- Organization: convey Information Systems GmbH
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