summaryrefslogtreecommitdiff
path: root/Kernel/Process.h
diff options
context:
space:
mode:
authorBrian Gianforcaro <b.gianfo@gmail.com>2020-08-01 17:55:28 -0700
committerAndreas Kling <kling@serenityos.org>2020-08-02 20:53:48 +0200
commit9db5a1b92fb59f5c2be06715ce9b8014c4b62b36 (patch)
tree283638e9367124bdd066fb0a08794a25987fd230 /Kernel/Process.h
parentf011c420c16d4da5775e055ad96430bac1d96610 (diff)
downloadserenity-9db5a1b92fb59f5c2be06715ce9b8014c4b62b36.zip
Kernel: Use Userspace<T> in sched_getparam syscall
Diffstat (limited to 'Kernel/Process.h')
-rw-r--r--Kernel/Process.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Process.h b/Kernel/Process.h
index cf72dfc429..d9087d663f 100644
--- a/Kernel/Process.h
+++ b/Kernel/Process.h
@@ -295,7 +295,7 @@ public:
int sys$getsockname(const Syscall::SC_getsockname_params*);
int sys$getpeername(const Syscall::SC_getpeername_params*);
int sys$sched_setparam(pid_t pid, Userspace<const struct sched_param*>);
- int sys$sched_getparam(pid_t pid, struct sched_param* param);
+ int sys$sched_getparam(pid_t pid, Userspace<struct sched_param*>);
int sys$create_thread(void* (*)(void*), const Syscall::SC_create_thread_params*);
void sys$exit_thread(void*);
int sys$join_thread(int tid, void** exit_value);