OSDN Git Service

* mount.cc (main): Eliminate excess arguments in printf.
authorcgf <cgf>
Sat, 1 Sep 2001 19:58:40 +0000 (19:58 +0000)
committercgf <cgf>
Sat, 1 Sep 2001 19:58:40 +0000 (19:58 +0000)
winsup/utils/ChangeLog
winsup/utils/mount.cc

index 3afb311..caadb30 100644 (file)
@@ -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.
index de2f509..4741bb0 100644 (file)
@@ -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))