OSDN Git Service

PR 9682
authorNick Clifton <nickc@redhat.com>
Fri, 2 Jan 2009 16:11:37 +0000 (16:11 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 2 Jan 2009 16:11:37 +0000 (16:11 +0000)
   * coff-ppc.c (dump_toc): Fix up calls to fprintf without a string
   literal.

bfd/ChangeLog
bfd/coff-ppc.c

index eb63e09..61d5701 100644 (file)
@@ -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
index eed84a0..9d03bd0 100644 (file)
@@ -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)
     {