summaryrefslogtreecommitdiff
path: root/src/signal/sigtimedwait.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/signal/sigtimedwait.c')
-rw-r--r--src/signal/sigtimedwait.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/signal/sigtimedwait.c b/src/signal/sigtimedwait.c
index 93f31a71..a0edaaf3 100644
--- a/src/signal/sigtimedwait.c
+++ b/src/signal/sigtimedwait.c
@@ -8,7 +8,7 @@ int sigtimedwait(const sigset_t *mask, siginfo_t *si, const struct timespec *tim
int ret;
CANCELPT_BEGIN;
do {
- ret = syscall4(__NR_rt_sigtimedwait, (long)mask, (long)si, (long)timeout, SYSCALL_SIGSET_SIZE);
+ ret = syscall(__NR_rt_sigtimedwait, mask, si, timeout, 8);
} while (ret<0 && errno==EINTR);
CANCELPT_END;
return ret;