From: Peter Maydell Date: Mon, 29 Jul 2013 10:31:49 +0000 (+0100) Subject: linux-user: Return success from m68k set_thread_area syscall X-Git-Tag: v1.6.0-rc0~3 X-Git-Url: https://git.proxmox.com/?p=qemu.git;a=commitdiff_plain;h=95c1eb19eab9d57035e05a02f7184b63c1da9775 linux-user: Return success from m68k set_thread_area syscall The m68k set_thread_area syscall implementation failed to set the return value. Correctly set it zero, since this syscall will always succeed. Signed-off-by: Peter Maydell Message-id: 1375093909-13653-1-git-send-email-peter.maydell@linaro.org Signed-off-by: Anthony Liguori --- diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 3f6db4b0d..f986548c2 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -8523,6 +8523,7 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1, { TaskState *ts = ((CPUArchState *)cpu_env)->opaque; ts->tp_value = arg1; + ret = 0; break; } #else