diff options
| author | Peter Maydell | 2013-07-29 12:31:49 +0200 |
|---|---|---|
| committer | Anthony Liguori | 2013-07-30 02:56:52 +0200 |
| commit | 95c1eb19eab9d57035e05a02f7184b63c1da9775 (patch) | |
| tree | 9c30812ad12712c2768b0d2adfc6fecb6491d793 /linux-user | |
| parent | linux-user/signal.c: Avoid using uninitialized data in ARM sigreturn (diff) | |
| download | qemu-95c1eb19eab9d57035e05a02f7184b63c1da9775.tar.gz qemu-95c1eb19eab9d57035e05a02f7184b63c1da9775.tar.xz qemu-95c1eb19eab9d57035e05a02f7184b63c1da9775.zip | |
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 <peter.maydell@linaro.org>
Message-id: 1375093909-13653-1-git-send-email-peter.maydell@linaro.org
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'linux-user')
| -rw-r--r-- | linux-user/syscall.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 3f6db4b0d1..f986548c2d 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 |
