mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:07:34 +00:00
Oops, waitpid() was not passing the options parameter to the kernel.
This commit is contained in:
parent
d7a41579e5
commit
0b3e927597
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ int close(int fd)
|
||||||
|
|
||||||
pid_t waitpid(pid_t waitee, int* wstatus, int options)
|
pid_t waitpid(pid_t waitee, int* wstatus, int options)
|
||||||
{
|
{
|
||||||
int rc = Syscall::invoke(Syscall::SC_waitpid, waitee, (dword)wstatus);
|
int rc = Syscall::invoke(Syscall::SC_waitpid, waitee, (dword)wstatus, (dword)options);
|
||||||
__RETURN_WITH_ERRNO(rc, rc, -1);
|
__RETURN_WITH_ERRNO(rc, rc, -1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue