summaryrefslogtreecommitdiff
path: root/src/northbridge/amd
diff options
context:
space:
mode:
authorJonathan Kollasch <jakllsch@kollasch.net>2010-10-05 19:38:04 +0000
committerMyles Watson <mylesgw@gmail.com>2010-10-05 19:38:04 +0000
commitb7a7b7903bf410b896adfbd505c1435b6e6da4fa (patch)
tree78b81935b9019d4845de969760c719827c9e8917 /src/northbridge/amd
parenta5a776131aef5a861d3c27dd4e9a37457991dc98 (diff)
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
Diffstat (limited to 'src/northbridge/amd')
-rw-r--r--src/northbridge/amd/amdk8/debug.c2
1 files changed, 1 insertions, 1 deletions
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
}