summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls/waitid.cpp
diff options
context:
space:
mode:
authorBrian Gianforcaro <b.gianfo@gmail.com>2020-08-04 22:29:28 -0700
committerAndreas Kling <kling@serenityos.org>2020-08-05 09:36:53 +0200
commit74d3b202f110c22f0b707cb8f2c36fca5ef4bc1d (patch)
treef34aeac5092e9d8db216d745af2cfe1d672930e1 /Kernel/Syscalls/waitid.cpp
parent84035e103503280cfed51d14b5bc29e9e46d7e3d (diff)
downloadserenity-74d3b202f110c22f0b707cb8f2c36fca5ef4bc1d.zip
Kernel: Use Userspace<T> for the waitid syscall
Diffstat (limited to 'Kernel/Syscalls/waitid.cpp')
-rw-r--r--Kernel/Syscalls/waitid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/waitid.cpp b/Kernel/Syscalls/waitid.cpp
index dd55a75b32..2650680b5f 100644
--- a/Kernel/Syscalls/waitid.cpp
+++ b/Kernel/Syscalls/waitid.cpp
@@ -93,7 +93,7 @@ KResultOr<siginfo_t> Process::do_waitid(idtype_t idtype, int id, int options)
}
}
-pid_t Process::sys$waitid(const Syscall::SC_waitid_params* user_params)
+pid_t Process::sys$waitid(Userspace<const Syscall::SC_waitid_params*> user_params)
{
REQUIRE_PROMISE(proc);