]> Git Repo - qemu.git/commitdiff
Fix MIPS sys_clone
authorPaul Brook <[email protected]>
Thu, 9 Jul 2009 12:11:52 +0000 (13:11 +0100)
committerPaul Brook <[email protected]>
Thu, 9 Jul 2009 12:11:52 +0000 (13:11 +0100)
The clone syscall takes 6 args.

Signed-off-by: Paul Brook <[email protected]>
linux-user/main.c

index 7eabd0c22f3549c0463476a4f9af69e10279186b..734844746b6de261f57387f77ca4ccd68e2b4e9d 100644 (file)
@@ -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 */
This page took 0.0286650000000001 seconds and 4 git commands to generate.