PR 6913
authorAlan Modra <amodra@gmail.com>
Wed, 24 Sep 2008 14:38:03 +0000 (14:38 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 24 Sep 2008 14:38:03 +0000 (14:38 +0000)
* listing.c (print_options): Don't call fprintf without format string.

gas/ChangeLog
gas/listing.c

index e555580c3fcb89f001723fed59313399b888bb2d..e305b2e372a8cff88566d52169bda982d1734449 100644 (file)
@@ -1,3 +1,8 @@
+2008-09-25  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 6913
+       * listing.c (print_options): Don't call fprintf without format string.
+
 2008-09-19  Alan Modra  <amodra@bigpond.net.au>
 
        * write.c (TC_FORCE_RELOCATION_SUB_LOCAL): Heed md_register_arithmetic.
index 6932e8679b48233e3c5b987e074aa5b3a86eaeba..d0e20429db6f8e013ca5631a9668082c4c3df064 100644 (file)
@@ -1100,7 +1100,7 @@ print_options (char ** argv)
   int pos = strlen (field_name);
   char **p;
 
-  fprintf (list_file, field_name);
+  fputs (field_name, list_file);
   for (p = &argv[1]; *p != NULL; p++)
     if (**p == '-')
       {