Use %p instead of %x to print void *.
authorJonathan Kollasch <jakllsch@kollasch.net>
Tue, 5 Oct 2010 19:38:04 +0000 (19:38 +0000)
committerMyles Watson <mylesgw@gmail.com>
Tue, 5 Oct 2010 19:38:04 +0000 (19:38 +0000)
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

src/northbridge/amd/amdk8/debug.c

index ee8050ea5943d684496b5dcb3cefeaedba16029d..fd9fe6063e81868ff50d9e11fc2961b0b7dcc2e6 100644 (file)
@@ -6,7 +6,7 @@
 static inline void print_debug_addr(const char *str, void *val)
 {
 #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
 }