[coreboot] [commit] r5915 - trunk/src/northbridge/amd/amdk8

repository service svn at coreboot.org
Tue Oct 5 21:38:04 CEST 2010


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 <jakllsch at kollasch.net>
Acked-by: Jonathan Kollasch <jakllsch at kollasch.net>

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
 }
 




More information about the coreboot mailing list