summaryrefslogtreecommitdiff
path: root/src/signal/sigandset.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/signal/sigandset.c')
-rw-r--r--src/signal/sigandset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/signal/sigandset.c b/src/signal/sigandset.c
index f62c7fec..78f9600d 100644
--- a/src/signal/sigandset.c
+++ b/src/signal/sigandset.c
@@ -2,7 +2,7 @@
#include <signal.h>
#include <errno.h>
-#define SST_SIZE (sizeof(sigset_t) / sizeof(long))
+#define SST_SIZE (_NSIG/8)
int sigandset(sigset_t *dest, sigset_t *left, sigset_t *right)
{