diff options
Diffstat (limited to 'Kernel/Syscalls/select.cpp')
-rw-r--r-- | Kernel/Syscalls/select.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Syscalls/select.cpp b/Kernel/Syscalls/select.cpp index 4076a871d0..969de51286 100644 --- a/Kernel/Syscalls/select.cpp +++ b/Kernel/Syscalls/select.cpp @@ -32,10 +32,10 @@ namespace Kernel { -KResultOr<int> Process::sys$select(const Syscall::SC_select_params* user_params) +KResultOr<int> Process::sys$select(Userspace<const Syscall::SC_select_params*> user_params) { REQUIRE_PROMISE(stdio); - Syscall::SC_select_params params; + Syscall::SC_select_params params {}; if (!copy_from_user(¶ms, user_params)) return EFAULT; |