aboutsummaryrefslogtreecommitdiff
path: root/linux-user/main.c
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2009-07-09 13:11:52 +0100
committerPaul Brook <paul@codesourcery.com>2009-07-09 13:11:52 +0100
commit18113962e4f9b9e980f2abfa4896fbbc6288d00f (patch)
tree12c3a9692e7bf5a95bcb7bb91a75e04217674367 /linux-user/main.c
parentd88a76d1d359c1e97fb8921288af87f14247c999 (diff)
Fix MIPS sys_clone
The clone syscall takes 6 args. Signed-off-by: Paul Brook <paul@codesourcery.com>
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 7eabd0c22f..734844746b 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -1626,7 +1626,7 @@ static const uint8_t mips_syscall_args[] = {
MIPS_SYS(sys_ipc , 6)
MIPS_SYS(sys_fsync , 1)
MIPS_SYS(sys_sigreturn , 0)
- MIPS_SYS(sys_clone , 0) /* 4120 */
+ MIPS_SYS(sys_clone , 6) /* 4120 */
MIPS_SYS(sys_setdomainname, 2)
MIPS_SYS(sys_newuname , 1)
MIPS_SYS(sys_ni_syscall , 0) /* sys_modify_ldt */