From fca743f307526ffc561d948eda584788c40ece83 Mon Sep 17 00:00:00 2001
From: ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Date: Tue, 20 Nov 2007 15:22:44 +0000
Subject: [PATCH] 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
---
 linux-user/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
-- 
2.30.2