Oops, waitpid() was not passing the options parameter to the kernel.

This commit is contained in:
Andreas Kling 2018-11-07 10:46:48 +01:00
parent d7a41579e5
commit 0b3e927597

View file

@ -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);
}