summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuraj Jitindar Singh2017-01-13 07:28:22 +0100
committerDavid Gibson2017-02-01 23:30:07 +0100
commit76134d48b3a526ec5f5dec15630c51559577b2bf (patch)
tree26fd31bbe39d56a8ffaa44cd8bbb028bd3c82f89
parenttcg/POWER9: NOOP the cp_abort instruction (diff)
downloadqemu-76134d48b3a526ec5f5dec15630c51559577b2bf.tar.gz
qemu-76134d48b3a526ec5f5dec15630c51559577b2bf.tar.xz
qemu-76134d48b3a526ec5f5dec15630c51559577b2bf.zip
target/ppc/mmu_hash64: Fix printing unsigned as signed int
We were printing an unsigned value as a signed value, fix this. Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
-rw-r--r--target/ppc/mmu-hash64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/ppc/mmu-hash64.c b/target/ppc/mmu-hash64.c
index 0efc8c63fa..bb78fb5497 100644
--- a/target/ppc/mmu-hash64.c
+++ b/target/ppc/mmu-hash64.c
@@ -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;