aboutsummaryrefslogtreecommitdiff
path: root/sim/common/cgen-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/cgen-utils.c')
-rw-r--r--sim/common/cgen-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/common/cgen-utils.c b/sim/common/cgen-utils.c
index a22caab..a430427 100644
--- a/sim/common/cgen-utils.c
+++ b/sim/common/cgen-utils.c
@@ -416,7 +416,7 @@ cgen_rtx_error (SIM_CPU *cpu, const char * msg)
{
SIM_DESC sd = CPU_STATE (cpu);
- sim_io_printf (sd, msg);
+ sim_io_printf (sd, "%s", msg);
sim_io_printf (sd, "\n");
sim_engine_halt (sd, cpu, NULL, CPU_PC_GET (cpu), sim_stopped, SIM_SIGTRAP);