Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-09-01 23:58:40 +0400
committerChristopher Faylor <me@cgf.cx>2001-09-01 23:58:40 +0400
commitdb8b09c3068ea748c279ddce8608c1143579b6e3 (patch)
tree2297fee9475cd9cf1d819f8114aad7c920f077a0 /winsup/utils
parent2bcd6fb89d4f72b3c0fd962bd5fe499631a8ff8d (diff)
* mount.cc (main): Eliminate excess arguments in printf.
Diffstat (limited to 'winsup/utils')
-rw-r--r--winsup/utils/ChangeLog4
-rw-r--r--winsup/utils/mount.cc2
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog
index 3afb3114f..caadb302d 100644
--- a/winsup/utils/ChangeLog
+++ b/winsup/utils/ChangeLog
@@ -1,3 +1,7 @@
+Sat Sep 1 15:58:11 2001 Christopher Faylor <cgf@cygnus.com>
+
+ * mount.cc (main): Eliminate excess arguments in printf.
+
2001-08-30 Egor Duda <deo@logos-m.ru>
* dumper.h: Update copyright notice.
diff --git a/winsup/utils/mount.cc b/winsup/utils/mount.cc
index de2f5094a..4741bb0be 100644
--- a/winsup/utils/mount.cc
+++ b/winsup/utils/mount.cc
@@ -217,7 +217,7 @@ main (int argc, char **argv)
if (optind >= argc)
fprintf (stderr, "%s: not enough arguments\n", progname);
else
- fprintf (stderr, "%s: too many arguments\n", progname, optind, argc);
+ fprintf (stderr, "%s: too many arguments\n", progname);
usage ();
}
if (force || !mount_already_exists (argv[optind + 1], flags))