summaryrefslogtreecommitdiff
path: root/src/signal/sigsuspend.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/signal/sigsuspend.c')
-rw-r--r--src/signal/sigsuspend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/signal/sigsuspend.c b/src/signal/sigsuspend.c
index 0806288c..6c13fce1 100644
--- a/src/signal/sigsuspend.c
+++ b/src/signal/sigsuspend.c
@@ -6,7 +6,7 @@ int sigsuspend(const sigset_t *mask)
{
int ret;
CANCELPT_BEGIN;
- ret = syscall2(__NR_rt_sigsuspend, (long)mask, SYSCALL_SIGSET_SIZE);
+ ret = syscall(__NR_rt_sigsuspend, mask, 8);
CANCELPT_END;
return ret;
}