]> Git Repo - qemu.git/commitdiff
target/ppc/mmu_hash64: Fix printing unsigned as signed int
authorSuraj Jitindar Singh <[email protected]>
Fri, 13 Jan 2017 06:28:22 +0000 (17:28 +1100)
committerDavid Gibson <[email protected]>
Wed, 1 Feb 2017 22:30:07 +0000 (09:30 +1100)
We were printing an unsigned value as a signed value, fix this.

Signed-off-by: Suraj Jitindar Singh <[email protected]>
Signed-off-by: David Gibson <[email protected]>
target/ppc/mmu-hash64.c

index 0efc8c63fa7ce6d2b8c4268d3dd43c5cf5031124..bb78fb54976783fc8ba89f5ea84d790a3028da97 100644 (file)
@@ -181,8 +181,8 @@ int ppc_store_slb(PowerPCCPU *cpu, target_ulong slot,
     slb->vsid = vsid;
     slb->sps = sps;
 
-    LOG_SLB("%s: %d " TARGET_FMT_lx " - " TARGET_FMT_lx " => %016" PRIx64
-            " %016" PRIx64 "\n", __func__, slot, esid, vsid,
+    LOG_SLB("%s: " TARGET_FMT_lu " " TARGET_FMT_lx " - " TARGET_FMT_lx
+            " => %016" PRIx64 " %016" PRIx64 "\n", __func__, slot, esid, vsid,
             slb->esid, slb->vsid);
 
     return 0;
This page took 0.028015 seconds and 4 git commands to generate.