summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2012-12-06 21:50:37 +0100
committerrofl0r <retnyg@gmx.net>2012-12-06 21:50:37 +0100
commit4ab26cc34c48a3374c54735a5df0bed106fda06e (patch)
treeaf8bb6405858dcd066e9d560dd26326f7fc6243f /src
parente34d967c3eaa81ba6224b85cf19d79c6479c2056 (diff)
downloadmusl-4ab26cc34c48a3374c54735a5df0bed106fda06e.tar.gz
musl-4ab26cc34c48a3374c54735a5df0bed106fda06e.tar.bz2
musl-4ab26cc34c48a3374c54735a5df0bed106fda06e.tar.xz
musl-4ab26cc34c48a3374c54735a5df0bed106fda06e.zip
fixup sigandset
Diffstat (limited to 'src')
-rw-r--r--src/signal/sigandset.c2
-rw-r--r--src/signal/sigorset.c2
2 files changed, 2 insertions, 2 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)
{
diff --git a/src/signal/sigorset.c b/src/signal/sigorset.c
index 232075b1..eb5feab4 100644
--- a/src/signal/sigorset.c
+++ b/src/signal/sigorset.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 sigorset(sigset_t *dest, sigset_t *left, sigset_t *right)
{