diff options
author | Nick Clifton <nickc@redhat.com> | 2009-01-02 16:11:37 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2009-01-02 16:11:37 +0000 |
commit | b70b5c14d5d10dfb85d2c23728d0fd2362f98f16 (patch) | |
tree | d0d7b5b33355ba8b5affecfbd3e1f04deb5b53e5 /bfd | |
parent | 4ef2cf8be8a20090d7709672b0227e24172df3b3 (diff) | |
download | fsf-binutils-gdb-b70b5c14d5d10dfb85d2c23728d0fd2362f98f16.zip fsf-binutils-gdb-b70b5c14d5d10dfb85d2c23728d0fd2362f98f16.tar.gz fsf-binutils-gdb-b70b5c14d5d10dfb85d2c23728d0fd2362f98f16.tar.bz2 |
PR 9682
* coff-ppc.c (dump_toc): Fix up calls to fprintf without a string
literal.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/coff-ppc.c | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index eb63e09..61d5701 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2009-01-02 Curtis Mackie <curtmackevo@gmail.com> + + PR 9682 + * coff-ppc.c (dump_toc): Fix up calls to fprintf without a string + literal. + 2008-12-29 Arnold Metselaar <arnold.metselaar@planet.nl> * coff-z80.c (r_imm32): Fix copy-paste bug that caused z80-objdump to diff --git a/bfd/coff-ppc.c b/bfd/coff-ppc.c index eed84a0..9d03bd0 100644 --- a/bfd/coff-ppc.c +++ b/bfd/coff-ppc.c @@ -1543,9 +1543,9 @@ dump_toc (vfile) FILE *file = (FILE *) vfile; struct list_ele *t; - fprintf (file, _(h1)); - fprintf (file, _(h2)); - fprintf (file, _(h3)); + fputs (_(h1), file); + fputs (_(h2), file); + fputs (_(h3), file); for (t = head; t != 0; t=t->next) { |