Commit 18113962e4f9b9e980f2abfa4896fbbc6288d00f

Authored by Paul Brook
1 parent d88a76d1

Fix MIPS sys_clone

The clone syscall takes 6 args.

Signed-off-by: Paul Brook <paul@codesourcery.com>
Showing 1 changed file with 1 additions and 1 deletions
linux-user/main.c
... ... @@ -1626,7 +1626,7 @@ static const uint8_t mips_syscall_args[] = {
1626 1626 MIPS_SYS(sys_ipc , 6)
1627 1627 MIPS_SYS(sys_fsync , 1)
1628 1628 MIPS_SYS(sys_sigreturn , 0)
1629   - MIPS_SYS(sys_clone , 0) /* 4120 */
  1629 + MIPS_SYS(sys_clone , 6) /* 4120 */
1630 1630 MIPS_SYS(sys_setdomainname, 2)
1631 1631 MIPS_SYS(sys_newuname , 1)
1632 1632 MIPS_SYS(sys_ni_syscall , 0) /* sys_modify_ldt */
... ...