Skip to content

Commit

Permalink
target/ppc/mmu_hash64: Fix printing unsigned as signed int
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
sjitindarsingh authored and dgibson committed Feb 1, 2017
1 parent b8b4576 commit 76134d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions target/ppc/mmu-hash64.c
Expand Up @@ -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;
Expand Down

0 comments on commit 76134d4

Please sign in to comment.