From: Paul Brook Date: Thu, 9 Jul 2009 12:11:52 +0000 (+0100) Subject: Fix MIPS sys_clone X-Git-Tag: v0.11.0-rc0~160 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18113962e4f9b9e980f2abfa4896fbbc6288d00f;p=thirdparty%2Fqemu.git Fix MIPS sys_clone The clone syscall takes 6 args. Signed-off-by: Paul Brook --- diff --git a/linux-user/main.c b/linux-user/main.c index 7eabd0c22f3..734844746b6 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 */