summaryrefslogtreecommitdiff
path: root/linux-user/cris/cpu_loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/cris/cpu_loop.c')
-rw-r--r--linux-user/cris/cpu_loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/cris/cpu_loop.c b/linux-user/cris/cpu_loop.c
index 1c5eca9f83..37bdcfa8cc 100644
--- a/linux-user/cris/cpu_loop.c
+++ b/linux-user/cris/cpu_loop.c
@@ -81,7 +81,7 @@ void cpu_loop(CPUCRISState *env)
cpu_exec_step_atomic(cs);
break;
default:
- printf ("Unhandled trap: 0x%x\n", trapnr);
+ fprintf(stderr, "Unhandled trap: 0x%x\n", trapnr);
cpu_dump_state(cs, stderr, fprintf, 0);
exit(EXIT_FAILURE);
}