commit | cc47d9dcf8fc918732b3c1e17b6877d5f2f41afe | [log] [tgz] |
---|---|---|
author | Paul Menzel <paulepanter@users.sourceforge.net> | Tue Jan 21 12:08:18 2014 +0100 |
committer | Patrick Georgi <pgeorgi@google.com> | Fri Dec 19 21:15:05 2014 +0100 |
tree | 400b6cc304e60ad85411f8be60863cb09fee9b60 | |
parent | 9d3e131461e36229a3a4bbcd16a430a62be37e10 [diff] |
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>
diff --git a/payloads/libpayload/libc/hexdump.c b/payloads/libpayload/libc/hexdump.c index ee07e5a..d2953a5 100644 --- a/payloads/libpayload/libc/hexdump.c +++ b/payloads/libpayload/libc/hexdump.c
@@ -49,7 +49,7 @@ } if (all_zero < 2) { - printf("%08lx:", memory + i); + printf("%8p:", memory + i); for (j = 0; j < 16; j++) printf(" %02x", m[i + j]); printf(" ");