summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls
diff options
context:
space:
mode:
authorBrian Gianforcaro <b.gianfo@gmail.com>2020-08-04 22:38:00 -0700
committerAndreas Kling <kling@serenityos.org>2020-08-05 09:36:53 +0200
commitd949b2a3674938bff6f13000afc7d7c4ebc349d1 (patch)
tree5869a32ba4c4e094ed1a98a4f521367a6cc20a7b /Kernel/Syscalls
parent7449921f530ae5442a26735705d92be4ad61b742 (diff)
downloadserenity-d949b2a3674938bff6f13000afc7d7c4ebc349d1.zip
Kernel: Use Userspace<T> for the set_mmap_name syscall
Diffstat (limited to 'Kernel/Syscalls')
-rw-r--r--Kernel/Syscalls/mmap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/mmap.cpp b/Kernel/Syscalls/mmap.cpp
index 243d035008..e99be2775a 100644
--- a/Kernel/Syscalls/mmap.cpp
+++ b/Kernel/Syscalls/mmap.cpp
@@ -331,7 +331,7 @@ int Process::sys$minherit(void* address, size_t size, int inherit)
return -EINVAL;
}
-int Process::sys$set_mmap_name(const Syscall::SC_set_mmap_name_params* user_params)
+int Process::sys$set_mmap_name(Userspace<const Syscall::SC_set_mmap_name_params*> user_params)
{
REQUIRE_PROMISE(stdio);