This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bfd_vma printing


Sigh, committed my first verion with a typo.

	* readelf.c (print_vma): Typo fix.

Index: binutils/readelf.c
===================================================================
RCS file: /cvs/src/src/binutils/readelf.c,v
retrieving revision 1.418
diff -u -p -r1.418 readelf.c
--- binutils/readelf.c	28 Jul 2008 04:07:32 -0000	1.418
+++ binutils/readelf.c	28 Jul 2008 04:12:56 -0000
@@ -387,7 +387,7 @@ print_vma (bfd_vma vma, print_mode mode)
     case LONG_HEX:
 #ifdef BFD64
       if (is_32bit_elf)
-	return nc + printf ("%08.8" BFD_VMA_FMT "x", vma);
+	return nc + printf ("%8.8" BFD_VMA_FMT "x", vma);
 #endif
       printf_vma (vma);
       return nc + 16;

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]