From 2b83b95803d745d0a57ae7331a285aa692c6e425 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 27 Jun 2021 00:02:11 -0400 Subject: sim: frv: fix some printf type mismatch warnings The %p usage was a real bug that would probably cause a crash. --- sim/frv/profile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sim/frv/profile.c') diff --git a/sim/frv/profile.c b/sim/frv/profile.c index 94212bf..89332e5 100644 --- a/sim/frv/profile.c +++ b/sim/frv/profile.c @@ -901,7 +901,7 @@ wait_for_flush (SIM_CPU *cpu) } if (TRACE_INSN_P (cpu) && wait) { - sprintf (hazard_name, "Data cache flush address %p:", address); + sprintf (hazard_name, "Data cache flush address %x:", address); frv_model_trace_wait_cycles (cpu, wait, hazard_name); } } -- cgit v1.1