summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x[-rw-r--r--]linux-user/syscall.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 52885ab05..a8d7858d1 100644..100755
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -9943,7 +9943,9 @@ abi_long do_syscall(void *cpu_env, int num, abi_ulong arg1,
default:
unimplemented:
- gemu_log("qemu: Unsupported syscall: %d\n", num);
+#ifdef DEBUG
+ gemu_log("qemu: debug: Unsupported syscall: %d\n", num);
+#endif
#if defined(TARGET_NR_setxattr) || defined(TARGET_NR_get_thread_area) || defined(TARGET_NR_getdomainname) || defined(TARGET_NR_set_robust_list)
unimplemented_nowarn:
#endif