From b70b5c14d5d10dfb85d2c23728d0fd2362f98f16 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 2 Jan 2009 16:11:37 +0000 Subject: [PATCH] PR 9682 * coff-ppc.c (dump_toc): Fix up calls to fprintf without a string literal. --- bfd/ChangeLog | 6 ++++++ bfd/coff-ppc.c | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index eb63e09f5dc..61d5701ff17 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2009-01-02 Curtis Mackie + + PR 9682 + * coff-ppc.c (dump_toc): Fix up calls to fprintf without a string + literal. + 2008-12-29 Arnold Metselaar * 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 eed84a09ed5..9d03bd0a6fd 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) { -- 2.30.2