diff options
Diffstat (limited to 'src/init/syscalls.c')
-rw-r--r-- | src/init/syscalls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/init/syscalls.c b/src/init/syscalls.c index 14c0d52..25fa134 100644 --- a/src/init/syscalls.c +++ b/src/init/syscalls.c @@ -50,8 +50,8 @@ void __user *_syscall_memflag(void __user *addr, size_t len, int flags) { return (void __user *)_syscall(_SYSCALL_MEMFLAG, (int)addr, (int)len, flags, 0); } -handle_t _syscall_pipe(int flags) { - return (handle_t)_syscall(_SYSCALL_PIPE, flags, 0, 0, 0); +int _syscall_pipe(handle_t __user user_ends[2], int flags) { + return _syscall(_SYSCALL_PIPE, (int)user_ends, flags, 0, 0); } void _syscall_debug_klog(const void __user *buf, size_t len) { |