1
Fork 0
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:
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) 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);
} }