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

Kernel: Use Userspace<T> for the gettimeofday syscall

This commit is contained in:
Brian Gianforcaro 2020-08-04 22:18:51 -07:00 committed by Andreas Kling
parent 1eeaed31c2
commit baa070afb8
2 changed files with 2 additions and 2 deletions

View file

@ -134,7 +134,7 @@ int Process::sys$clock_nanosleep(const Syscall::SC_clock_nanosleep_params* user_
}
}
int Process::sys$gettimeofday(timeval* user_tv)
int Process::sys$gettimeofday(Userspace<timeval*> user_tv)
{
REQUIRE_PROMISE(stdio);
if (!validate_write_typed(user_tv))