summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 1acdab06..7ce526c4 100644
--- a/src/signal/sigsuspend.c
+++ b/src/signal/sigsuspend.c
@@ -3,5 +3,5 @@
int sigsuspend(const sigset_t *mask)
{
- return syscall2(__NR_rt_sigsuspend, (long)mask, sizeof(sigset_t));
+ return syscall2(__NR_rt_sigsuspend, (long)mask, SYSCALL_SIGSET_SIZE);
}