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>
This commit is contained in:
Paul Menzel 2014-01-21 12:08:18 +01:00 committed by Patrick Georgi
parent 9d3e131461
commit cc47d9dcf8
1 changed files with 1 additions and 1 deletions

View File

@ -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(" ");