diff options
Diffstat (limited to 'src/process/waitpid.c')
-rw-r--r-- | src/process/waitpid.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/process/waitpid.c b/src/process/waitpid.c index 5e0320f7..f75e31ef 100644 --- a/src/process/waitpid.c +++ b/src/process/waitpid.c @@ -4,10 +4,5 @@ pid_t waitpid(pid_t pid, int *status, int options) { - int r; - CANCELPT_BEGIN; - r = syscall(SYS_wait4, pid, status, options, 0); - if (r<0) CANCELPT_TRY; - CANCELPT_END; - return r; + return syscall_cp(SYS_wait4, pid, status, options, 0); } |