summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2008-09-24 14:38:03 +0000
committerAlan Modra <amodra@bigpond.net.au>2008-09-24 14:38:03 +0000
commit0e72e82f047af7a9030f71d7883f480ac63da7de (patch)
tree6be8c64b15c5fa530bb43fc3e4953f2c8ba75e91
parent9da90d3f14af703618aa92c7d606a7825919cbd0 (diff)
downloadbinutils-redhat-0e72e82f047af7a9030f71d7883f480ac63da7de.tar.gz
PR 6913
* listing.c (print_options): Don't call fprintf without format string.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/listing.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index e555580c3f..e305b2e372 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
diff --git a/gas/listing.c b/gas/listing.c
index 6932e8679b..d0e20429db 100644
--- a/gas/listing.c
+++ b/gas/listing.c
@@ -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 == '-')
{