aboutsummaryrefslogtreecommitdiff
path: root/linux-user/strace.c
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-29 13:49:09 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-29 13:49:09 +0000
commit74c11e557fc03ce7fab1057fdfa03545d1b3424c (patch)
tree4960c2379f21e8a34fa5941d231c129982123a8f /linux-user/strace.c
parent63d7651b76a3696b1ef46ec9c0b8a08686034988 (diff)
downloadqemu-74c11e557fc03ce7fab1057fdfa03545d1b3424c.zip
qemu-74c11e557fc03ce7fab1057fdfa03545d1b3424c.tar.gz
qemu-74c11e557fc03ce7fab1057fdfa03545d1b3424c.tar.bz2
Strace fallback for unknown syscalls.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4614 c046a42c-6fe2-441c-8c8c-71466251a162
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 d7c18c6..76aa3f6 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);
}