diff options
author | dzwdz | 2021-09-14 20:31:40 +0200 |
---|---|---|
committer | dzwdz | 2021-09-14 20:31:40 +0200 |
commit | 1d0512957e802acfe7b677b30589a4e3bd26fac8 (patch) | |
tree | f055d09bb2ef2b552473bc6fa168c6dba4e4cb55 /src/kernel/syscalls.c | |
parent | bfef3846f0048eee855af27406fd5d9b17a17677 (diff) |
add support for 4-parameter syscalls
Diffstat (limited to 'src/kernel/syscalls.c')
-rw-r--r-- | src/kernel/syscalls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/syscalls.c b/src/kernel/syscalls.c index 6821871..9002628 100644 --- a/src/kernel/syscalls.c +++ b/src/kernel/syscalls.c @@ -250,7 +250,7 @@ int _syscall_memflag(void __user *addr, size_t len, int flags) { return -1; } -int syscall_handler(int num, int a, int b, int c) { +int syscall_handler(int num, int a, int b, int c, int d) { switch (num) { case _SYSCALL_EXIT: _syscall_exit((userptr_t)a, b); |