OSDN Git Service

* dlltool.c (main): Fix typo.
authorMark Mitchell <mark@codesourcery.com>
Fri, 30 Sep 2005 20:04:21 +0000 (20:04 +0000)
committerMark Mitchell <mark@codesourcery.com>
Fri, 30 Sep 2005 20:04:21 +0000 (20:04 +0000)
* windres.c (main): Likewise.

binutils/ChangeLog
binutils/dlltool.c
binutils/windres.c

index 4fc15bf..0c758fc 100644 (file)
@@ -1,3 +1,8 @@
+2005-09-30  Mark Mitchell  <mark@codesourcery.com>
+
+       * dlltool.c (main): Fix typo.
+       * windres.c (main): Likewise.
+
 2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>
 
        * Makefile.in: Regenerated.
index 6c86071..bcecc8a 100644 (file)
@@ -3124,7 +3124,7 @@ main (int ac, char **av)
   bindtextdomain (PACKAGE, LOCALEDIR);
   textdomain (PACKAGE);
 
-  expandargv (&argc, &argv);
+  expandargv (&ac, &av);
 
   while ((c = getopt_long (ac, av,
 #ifdef DLLTOOL_MCORE_ELF
index c0f1b8c..5f5836c 100644 (file)
@@ -767,7 +767,7 @@ main (int argc, char **argv)
   program_name = argv[0];
   xmalloc_set_program_name (program_name);
 
-  expandargv (&ac, &av);
+  expandargv (&argc, &argv);
 
   bfd_init ();
   set_default_bfd_target ();