summaryrefslogtreecommitdiffhomepage
path: root/arch/nt32
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nt32')
-rw-r--r--arch/nt32/syscall_arch.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/nt32/syscall_arch.h b/arch/nt32/syscall_arch.h
index 9a5d4af..ca7ad18 100644
--- a/arch/nt32/syscall_arch.h
+++ b/arch/nt32/syscall_arch.h
@@ -26,14 +26,14 @@ static __inline long __syscall1(long n, long a1)
static __inline long __syscall2(long n, long a1, long a2)
{
- sysfn_from_fn(__syscall2_fn);
- return sysfn ? sysfn(a1, a2) : __syscall_alert(n);
+ sysfn_from_fn(__syscall3_fn);
+ return sysfn ? sysfn(a1, a2, 0) : __syscall_alert(n);
}
static __inline long __syscall3(long n, long a1, long a2, long a3)
{
- sysfn_from_fn(__syscall3_fn);
- return sysfn ? sysfn(a1, a2, a3) : __syscall_alert(n);
+ sysfn_from_fn(__syscall4_fn);
+ return sysfn ? sysfn(a1, a2, a3, 0) : __syscall_alert(n);
}
static __inline long __syscall4(long n, long a1, long a2, long a3, long a4)