summaryrefslogtreecommitdiff
path: root/payloads
diff options
context:
space:
mode:
authorPaul Menzel <paulepanter@users.sourceforge.net>2014-01-21 12:08:18 +0100
committerPatrick Georgi <pgeorgi@google.com>2014-12-19 21:15:05 +0100
commitcc47d9dcf8fc918732b3c1e17b6877d5f2f41afe (patch)
tree400b6cc304e60ad85411f8be60863cb09fee9b60 /payloads
parent9d3e131461e36229a3a4bbcd16a430a62be37e10 (diff)
downloadcoreboot-cc47d9dcf8fc918732b3c1e17b6877d5f2f41afe.tar.xz
libpayload: hexdump: Use `p` as conversion specifier for pointers
Change-Id: Ie5c279ef90bd9ed5e2624bf852dcff1f06531a13 Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-on: http://review.coreboot.org/4767 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'payloads')
-rw-r--r--payloads/libpayload/libc/hexdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/libc/hexdump.c b/payloads/libpayload/libc/hexdump.c
index ee07e5a9e1..d2953a5552 100644
--- a/payloads/libpayload/libc/hexdump.c
+++ b/payloads/libpayload/libc/hexdump.c
@@ -49,7 +49,7 @@ void hexdump(const void *memory, size_t 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(" ");