aboutsummaryrefslogtreecommitdiff
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
parentqdev: convert ac97. (diff)
downloadqemu-kvm-18113962e4f9b9e980f2abfa4896fbbc6288d00f.tar.gz
qemu-kvm-18113962e4f9b9e980f2abfa4896fbbc6288d00f.tar.bz2
qemu-kvm-18113962e4f9b9e980f2abfa4896fbbc6288d00f.zip
Fix MIPS sys_clone
The clone syscall takes 6 args. Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'linux-user')
-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 7eabd0c22..734844746 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 */