hax: fix wrong printf format for target_ulong.
authorKitae Kim <kt920.kim@samsung.com>
Tue, 18 Nov 2014 04:43:30 +0000 (13:43 +0900)
committerKitae Kim <kt920.kim@samsung.com>
Thu, 8 Jan 2015 09:02:17 +0000 (18:02 +0900)
Change-Id: Icb85046d78adabb1dc15c23d87f0639df8c40a14
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
target-i386/hax-all.c

index 0ae34a7a1cf375595b24bcca370eb69d4d23fd60..2b05b91696590d6d42351350efffe05b545d2d99 100644 (file)
@@ -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;
         }