summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls
diff options
context:
space:
mode:
authorBrian Gianforcaro <b.gianfo@gmail.com>2020-08-06 20:52:24 -0700
committerAndreas Kling <kling@serenityos.org>2020-08-07 16:18:36 +0200
commit0db669a9d2d59ee70214c622384730a9d4eb4bfa (patch)
treeb6da548789b6753e0c86374085764733d8f79308 /Kernel/Syscalls
parent7e7ee2ec94feab7dc5ba20a27826d84a692a369c (diff)
downloadserenity-0db669a9d2d59ee70214c622384730a9d4eb4bfa.zip
Kernel: Use Userspace<T> for the chown syscall
Diffstat (limited to 'Kernel/Syscalls')
-rw-r--r--Kernel/Syscalls/chown.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/chown.cpp b/Kernel/Syscalls/chown.cpp
index 25f829255b..8de435c468 100644
--- a/Kernel/Syscalls/chown.cpp
+++ b/Kernel/Syscalls/chown.cpp
@@ -38,7 +38,7 @@ int Process::sys$fchown(int fd, uid_t uid, gid_t gid)
return description->chown(uid, gid);
}
-int Process::sys$chown(const Syscall::SC_chown_params* user_params)
+int Process::sys$chown(Userspace<const Syscall::SC_chown_params*> user_params)
{
REQUIRE_PROMISE(chown);
Syscall::SC_chown_params params;