mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05: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)
|
||||
{
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue