1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:28:12 +00:00

Kernel: Use Userspace<T> for the clock_settime syscall

This commit is contained in:
Brian Gianforcaro 2020-08-09 12:48:49 -07:00 committed by Andreas Kling
parent 1be6145fdf
commit b069d757a3
2 changed files with 2 additions and 2 deletions

View file

@ -54,7 +54,7 @@ int Process::sys$clock_gettime(clockid_t clock_id, Userspace<timespec*> user_ts)
return 0;
}
int Process::sys$clock_settime(clockid_t clock_id, const timespec* user_ts)
int Process::sys$clock_settime(clockid_t clock_id, Userspace<const timespec*> user_ts)
{
REQUIRE_PROMISE(settime);