syscall_name: Fix wrong entries
authorAlan Cox <alan@linux.intel.com>
Sat, 27 Dec 2014 00:39:35 +0000 (00:39 +0000)
committerAlan Cox <alan@linux.intel.com>
Sat, 27 Dec 2014 00:39:35 +0000 (00:39 +0000)
Ones found while building the Z88DK test C lib

Kernel/include/syscall_name.h

index dd339dc..6a6180d 100644 (file)
@@ -88,7 +88,7 @@ int syscall_args[NR_SYSCALL] = {
        1, //umask
        2, //_getfsys
        3, //execve
-       2, //_getdirent
+       3, //_getdirent
        1, //setuid
        1, //setgid
        2, //_time
@@ -97,9 +97,9 @@ int syscall_args[NR_SYSCALL] = {
        1, //brk
        1, //sbrk
        0, //fork
-       2, //mount
+       3, //mount
        1, //umount
-       3, //signal
+       2, //signal
        2, //dup2
        1, //_pause
        1, //alarm