]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
PR 6913
authorAlan Modra <amodra@gmail.com>
Wed, 24 Sep 2008 14:39:47 +0000 (14:39 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 24 Sep 2008 14:39:47 +0000 (14:39 +0000)
* dwarf.c (print_dwarf_vma): Don't call printf without format string.

binutils/ChangeLog
binutils/dwarf.c

index e5fb8a47ad750da289d1f244f86af17f8473bc40..eb9257cf9528a06baec6f8db140e07957966ffc7 100644 (file)
@@ -1,3 +1,8 @@
+2008-09-25  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 6913
+       * dwarf.c (print_dwarf_vma): Don't call printf without format string.
+
 2008-09-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        Suppress warnings on NONE relocations to discarded sections.
index 3a5ef0ff3e94896d42f8fa29ad69c3be1d2fed35..42ddd94233217034d7eca9a84380ddf794da5f39 100644 (file)
@@ -186,7 +186,7 @@ print_dwarf_vma (dwarf_vma val, unsigned byte_size)
   snprintf (buff, sizeof (buff), "%16.16lx ", val);
 #endif
 
-  printf (buff + (byte_size == 4 ? 8 : 0));
+  fputs (buff + (byte_size == 4 ? 8 : 0), stdout);
 }
 
 static unsigned long int