From: Alan Modra Date: Wed, 24 Sep 2008 14:40:06 +0000 (+0000) Subject: PR 6913 X-Git-Tag: binutils-2_19~39 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eea122f58945048aefcb74b79577d652647f5e6f;p=thirdparty%2Fbinutils-gdb.git PR 6913 * listing.c (print_options): Don't call fprintf without format string. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 49e73208452..8613d5c6600 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2008-09-25 Alan Modra + + PR 6913 + * listing.c (print_options): Don't call fprintf without format string. + 2008-09-19 Alan Modra * write.c (md_register_arithmetic): Define. diff --git a/gas/listing.c b/gas/listing.c index 6932e8679b4..d0e20429db6 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 == '-') {