diff options
author | Alan Modra <amodra@gmail.com> | 2008-09-24 14:38:03 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2008-09-24 14:38:03 +0000 |
commit | ead47374e68a35be0d4777e6203d38ee62f3f267 (patch) | |
tree | 563f5d6cd1de08d31e1135fcc3f91f1bbdb618ff /gas | |
parent | 725569295bb3cb70123edd407212a2f3093196cc (diff) | |
download | gdb-ead47374e68a35be0d4777e6203d38ee62f3f267.zip gdb-ead47374e68a35be0d4777e6203d38ee62f3f267.tar.gz gdb-ead47374e68a35be0d4777e6203d38ee62f3f267.tar.bz2 |
PR 6913
* listing.c (print_options): Don't call fprintf without format string.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/listing.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index e555580..e305b2e 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 6932e86..d0e2042 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 == '-') { |