Use %p instead of %x to print void *.

Signed-off-by: Jonathan Kollasch <jakllsch@kollasch.net>
Acked-by: Jonathan Kollasch <jakllsch@kollasch.net>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5915 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Jonathan Kollasch 2010-10-05 19:38:04 +00:00 committed by Myles Watson
parent a5a776131a
commit b7a7b7903b
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
static inline void print_debug_addr(const char *str, void *val) static inline void print_debug_addr(const char *str, void *val)
{ {
#if CONFIG_DEBUG_CAR #if CONFIG_DEBUG_CAR
printk(BIOS_DEBUG, "------Address debug: %s%x------\n", str, val); printk(BIOS_DEBUG, "------Address debug: %s%p------\n", str, val);
#endif #endif
} }