diff options
author | Brian Gianforcaro <b.gianfo@gmail.com> | 2020-08-06 20:52:24 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-07 16:18:36 +0200 |
commit | 0db669a9d2d59ee70214c622384730a9d4eb4bfa (patch) | |
tree | b6da548789b6753e0c86374085764733d8f79308 /Kernel/Syscalls | |
parent | 7e7ee2ec94feab7dc5ba20a27826d84a692a369c (diff) | |
download | serenity-0db669a9d2d59ee70214c622384730a9d4eb4bfa.zip |
Kernel: Use Userspace<T> for the chown syscall
Diffstat (limited to 'Kernel/Syscalls')
-rw-r--r-- | Kernel/Syscalls/chown.cpp | 2 |
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; |