From f13b19026b9f63c253b454c4c21a78300e20f1fa Mon Sep 17 00:00:00 2001 From: Kitae Kim Date: Tue, 18 Nov 2014 13:43:30 +0900 Subject: [PATCH] hax: fix wrong printf format for target_ulong. Change-Id: Icb85046d78adabb1dc15c23d87f0639df8c40a14 Signed-off-by: Kitae Kim --- target-i386/hax-all.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target-i386/hax-all.c b/target-i386/hax-all.c index 0ae34a7a1c..2b05b91696 100644 --- a/target-i386/hax-all.c +++ b/target-i386/hax-all.c @@ -673,7 +673,7 @@ static int hax_vcpu_hax_exec(CPUArchState *env, int ug_platform) { if (hax_vcpu_emulation_mode(cpu)) { - dprint("Trying to vcpu execute at eip:%lx\n", env->eip); + dprint("Trying to vcpu execute at eip:" TARGET_FMT_lx "\n", env->eip); return HAX_EMUL_EXITLOOP; } @@ -688,7 +688,7 @@ static int hax_vcpu_hax_exec(CPUArchState *env, int ug_platform) { if (!hax_enabled()) { - dprint("Trying to vcpu execute at eip:%lx\n", env->eip); + dprint("Trying to vcpu execute at eip:" TARGET_FMT_lx "\n", env->eip); return HAX_EMUL_EXITLOOP; } -- 2.34.1