[coreboot-gerrit] Patch set updated for coreboot: 02de292 libpayload: hexdump: Use `p` as conversion specifier for a pointer

Paul Menzel (paulepanter@users.sourceforge.net) gerrit at coreboot.org
Fri Feb 21 08:09:50 CET 2014


Paul Menzel (paulepanter at users.sourceforge.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4767

-gerrit

commit 02de292f85f37e84a42948562f6e0ee271fb18f5
Author: Paul Menzel <paulepanter at users.sourceforge.net>
Date:   Tue Jan 21 12:08:18 2014 +0100

    libpayload: hexdump: Use `p` as conversion specifier for a pointer
    
    Change-Id: Ie5c279ef90bd9ed5e2624bf852dcff1f06531a13
    Signed-off-by: Paul Menzel <paulepanter at users.sourceforge.net>
---
 payloads/libpayload/libc/hexdump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/payloads/libpayload/libc/hexdump.c b/payloads/libpayload/libc/hexdump.c
index e4aa8b9..814adf2 100644
--- a/payloads/libpayload/libc/hexdump.c
+++ b/payloads/libpayload/libc/hexdump.c
@@ -49,7 +49,7 @@ void hexdump(void *memory, int length)
 		}
 
 		if (all_zero < 2) {
-			printf("%08lx:", memory + i);
+			printf("%8p:", memory + i);
 			for (j = 0; j < 16; j++)
 				printf(" %02x", m[i + j]);
 			printf("  ");



More information about the coreboot-gerrit mailing list