[coreboot-gerrit] Patch set updated for coreboot: d96c849 libpayload: hexdump: Use `p` as conversion specifier for pointers

Nico Huber (nico.h@gmx.de) gerrit at coreboot.org
Fri Feb 21 23:17:43 CET 2014


Nico Huber (nico.h at gmx.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4767

-gerrit

commit d96c84981c969bba7182229632e07b20222985d1
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 pointers
    
    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