aboutsummaryrefslogtreecommitdiff
path: root/linux-user/strace.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/strace.c')
-rw-r--r--linux-user/strace.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-user/strace.c b/linux-user/strace.c
index d7c18c63c7..76aa3f609e 100644
--- a/linux-user/strace.c
+++ b/linux-user/strace.c
@@ -286,8 +286,9 @@ print_syscall(int num,
format = scnames[i].format;
gemu_log(format,scnames[i].name, arg1,arg2,arg3,arg4,arg5,arg6);
}
- break;
+ return;
}
+ gemu_log("Unknown syscall %d\n", num);
}