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:
parent
1eeaed31c2
commit
baa070afb8
2 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue