aboutsummaryrefslogtreecommitdiff
path: root/linux-user/main.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-20 15:22:44 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-20 15:22:44 +0000
commitfca743f307526ffc561d948eda584788c40ece83 (patch)
treed89f5a1eee90d010b6a51c1807fe28ca76883fbf /linux-user/main.c
parentf9d43072e25715911b3ef7594132e4f87ead8ba0 (diff)
SH4 Fix missing 6th arg of syscall, by "takasi-y".
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3711 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/main.c')
-rw-r--r--linux-user/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/main.c b/linux-user/main.c
index 631eb4b6bc..cfc9065a51 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -1613,7 +1613,7 @@ void cpu_loop (CPUState *env)
env->gregs[6],
env->gregs[7],
env->gregs[0],
- 0);
+ env->gregs[1]);
env->gregs[0] = ret;
env->pc += 2;
break;