diff options
Diffstat (limited to 'src/signal/sigwait.c')
-rw-r--r-- | src/signal/sigwait.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/signal/sigwait.c b/src/signal/sigwait.c index 48a855bb..c8822eea 100644 --- a/src/signal/sigwait.c +++ b/src/signal/sigwait.c @@ -1,10 +1,9 @@ #include <signal.h> -#include <stddef.h> int sigwait(const sigset_t *restrict mask, int *restrict sig) { siginfo_t si; - if (sigtimedwait(mask, &si, NULL) < 0) + if (sigtimedwait(mask, &si, 0) < 0) return -1; *sig = si.si_signo; return 0; |