summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls
diff options
context:
space:
mode:
authorBrian Gianforcaro <b.gianfo@gmail.com>2020-08-09 15:45:39 -0700
committerAndreas Kling <kling@serenityos.org>2020-08-10 12:52:15 +0200
commitd3847b3489a96ed1c70c6368b2a0ef535853d357 (patch)
tree88ab67be1830481aa70ae95a9236e2807be6694e /Kernel/Syscalls
parente8917cc5f36d5862656e56959127ed391ec0d9ff (diff)
downloadserenity-d3847b3489a96ed1c70c6368b2a0ef535853d357.zip
Kernel: Use Userspace<T> for the join_thread syscall
Diffstat (limited to 'Kernel/Syscalls')
-rw-r--r--Kernel/Syscalls/thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/thread.cpp b/Kernel/Syscalls/thread.cpp
index c84aaae00b..e67bfc0d96 100644
--- a/Kernel/Syscalls/thread.cpp
+++ b/Kernel/Syscalls/thread.cpp
@@ -117,7 +117,7 @@ int Process::sys$detach_thread(pid_t tid)
return 0;
}
-int Process::sys$join_thread(pid_t tid, void** exit_value)
+int Process::sys$join_thread(pid_t tid, Userspace<void**> exit_value)
{
REQUIRE_PROMISE(thread);
if (exit_value && !validate_write_typed(exit_value))