From b7a7b7903bf410b896adfbd505c1435b6e6da4fa Mon Sep 17 00:00:00 2001 From: Jonathan Kollasch Date: Tue, 5 Oct 2010 19:38:04 +0000 Subject: [PATCH] Use %p instead of %x to print void *. Signed-off-by: Jonathan Kollasch Acked-by: Jonathan Kollasch git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5915 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/northbridge/amd/amdk8/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/northbridge/amd/amdk8/debug.c b/src/northbridge/amd/amdk8/debug.c index ee8050ea59..fd9fe6063e 100644 --- a/src/northbridge/amd/amdk8/debug.c +++ b/src/northbridge/amd/amdk8/debug.c @@ -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 }