Author: myles
Date: Tue Oct  5 21:38:04 2010
New Revision: 5915
URL: https://tracker.coreboot.org/trac/coreboot/changeset/5915

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

Signed-off-by: Jonathan Kollasch <[email protected]>
Acked-by: Jonathan Kollasch <[email protected]>

Modified:
   trunk/src/northbridge/amd/amdk8/debug.c

Modified: trunk/src/northbridge/amd/amdk8/debug.c
==============================================================================
--- trunk/src/northbridge/amd/amdk8/debug.c     Tue Oct  5 20:22:00 2010        
(r5914)
+++ trunk/src/northbridge/amd/amdk8/debug.c     Tue Oct  5 21:38:04 2010        
(r5915)
@@ -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
 }
 

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to