aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/kexec.c
diff options
context:
space:
mode:
authorAndrew Cooper <andrew.cooper3@citrix.com>2012-03-16 15:24:25 +0000
committerAndrew Cooper <andrew.cooper3@citrix.com>2012-03-16 15:24:25 +0000
commitf425c23ee17f07dd7368585e2ad15ee65e1bebb0 (patch)
treee24fc1d9e206f0c04a2ad1a18274de6bf0cb68ff /xen/common/kexec.c
parent256eea1f72eb8cada9e2649cd4dfdcd02ea97e83 (diff)
downloadxen-f425c23ee17f07dd7368585e2ad15ee65e1bebb0.tar.gz
xen-f425c23ee17f07dd7368585e2ad15ee65e1bebb0.tar.bz2
xen-f425c23ee17f07dd7368585e2ad15ee65e1bebb0.zip
kexec: Fix printing of paddr_t in 32bit mode.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Committed-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/common/kexec.c')
-rw-r--r--xen/common/kexec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/common/kexec.c b/xen/common/kexec.c
index dd47e27e3c..71a3995b82 100644
--- a/xen/common/kexec.c
+++ b/xen/common/kexec.c
@@ -207,8 +207,8 @@ static void __init parse_crashinfo_maxaddr(const char * str)
if ( (addr = parse_size_and_unit(str, NULL)) )
crashinfo_maxaddr = addr;
else
- printk("Unable to parse crashinfo_maxaddr. Defaulting to %p\n",
- (void*)crashinfo_maxaddr);
+ printk("Unable to parse crashinfo_maxaddr. Defaulting to %"PRIpaddr"\n",
+ crashinfo_maxaddr);
}
custom_param("crashinfo_maxaddr", parse_crashinfo_maxaddr);