aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sim/iq2000/iq2000.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/iq2000/iq2000.c b/sim/iq2000/iq2000.c
index 087646b..f35e91e 100644
--- a/sim/iq2000/iq2000.c
+++ b/sim/iq2000/iq2000.c
@@ -77,6 +77,9 @@ do_syscall (SIM_CPU *current_cpu, PCADDR pc)
/* Fail. */
puts ("fail");
exit (1);
+ default:
+ puts ("unknown exit");
+ exit (2);
}
case TARGET_NEWLIB_SYS_write: