linux-user: Return success from m68k set_thread_area syscall
PATCH 1/1 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 <[email protected]>
---
Oops. Spotted by clang.
linux-user/syscall.c | 1 + 1 file changed, 1 insertion(+)
linux-user/syscall.c +1 -0
@@ -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
Signature · 1 line
1.7.9.5
Anthony Liguori
AppliedApplied. Thanks.
Regards,
Anthony Liguori