# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1245931952 -3600
# Node ID 95f051cb70b49cc3b4be8c6f0b0a8ed16e4cedda
# Parent eb82fc994ab27a55adab5d42e1b5f5870d0aac09
x86 hvm: Fix printf format specifier
Signed-off-by: Jun Koi <junkoi2004@xxxxxxxxx>
---
xen/arch/x86/hvm/save.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff -r eb82fc994ab2 -r 95f051cb70b4 xen/arch/x86/hvm/save.c
--- a/xen/arch/x86/hvm/save.c Thu Jun 25 13:06:44 2009 +0100
+++ b/xen/arch/x86/hvm/save.c Thu Jun 25 13:12:32 2009 +0100
@@ -66,9 +66,9 @@ int arch_hvm_load(struct domain *d, stru
if ( hdr->gtsc_khz && hvm_gtsc_need_scale(d) )
{
hvm_enable_rdtsc_exiting(d);
- gdprintk(XENLOG_WARNING, "Loading VM(id:%d) expects freq: %dmHz, "
- "but host's freq :%"PRIu64"mHz, trap and emulate rdtsc!!!\n",
- d->domain_id, hdr->gtsc_khz / 1000, opt_softtsc ? 1000 :
+ gdprintk(XENLOG_WARNING, "Domain %d expects freq %uMHz "
+ "but host's freq is %luMHz: trap and emulate rdtsc\n",
+ d->domain_id, hdr->gtsc_khz / 1000, opt_softtsc ? 1000ul :
cpu_khz / 1000);
}
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|