summaryrefslogtreecommitdiff
path: root/Kernel/API
diff options
context:
space:
mode:
authorBrian Gianforcaro <b.gianfo@gmail.com>2020-08-04 22:24:45 -0700
committerAndreas Kling <kling@serenityos.org>2020-08-05 09:36:53 +0200
commit84035e103503280cfed51d14b5bc29e9e46d7e3d (patch)
tree550b275ca59d52c294fb31335630f3dd2e0ac8cd /Kernel/API
parentbaa070afb891d790c587fe7ae7516789b1655bb7 (diff)
downloadserenity-84035e103503280cfed51d14b5bc29e9e46d7e3d.zip
Kernel: Use Userspace<T> for the clock_nanosleep syscall
Diffstat (limited to 'Kernel/API')
-rw-r--r--Kernel/API/Syscall.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/API/Syscall.h b/Kernel/API/Syscall.h
index ecf8aee963..b332059686 100644
--- a/Kernel/API/Syscall.h
+++ b/Kernel/API/Syscall.h
@@ -282,8 +282,8 @@ struct SC_poll_params {
struct SC_clock_nanosleep_params {
int clock_id;
int flags;
- const struct timespec* requested_sleep;
- struct timespec* remaining_sleep;
+ Userspace<const struct timespec*> requested_sleep;
+ Userspace<struct timespec*> remaining_sleep;
};
struct SC_sendto_params {