hax: fix wrong printf format for target_ulong. 19/30419/1
authorKitae Kim <kt920.kim@samsung.com>
Tue, 18 Nov 2014 04:43:30 +0000 (13:43 +0900)
committerKitae Kim <kt920.kim@samsung.com>
Tue, 18 Nov 2014 05:48:23 +0000 (14:48 +0900)
Change-Id: Icb85046d78adabb1dc15c23d87f0639df8c40a14
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
target-i386/hax-all.c

index 05442ab..7c014e8 100644 (file)
@@ -697,7 +697,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;
         }
 
@@ -712,7 +712,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;
         }