diff options
author | rofl0r <retnyg@gmx.net> | 2012-12-06 22:48:46 +0100 |
---|---|---|
committer | rofl0r <retnyg@gmx.net> | 2012-12-06 22:48:46 +0100 |
commit | 6bffcc2335f584e45f0b704986413f42391c7057 (patch) | |
tree | b0c3a3fccec83c87fc49b21420f151b38a8fd0d5 /src/signal/sigandset.c | |
parent | e00e07f66456d5bcdfde84a1801230ce8bf40ee7 (diff) | |
download | musl-6bffcc2335f584e45f0b704986413f42391c7057.tar.gz musl-6bffcc2335f584e45f0b704986413f42391c7057.tar.bz2 musl-6bffcc2335f584e45f0b704986413f42391c7057.tar.xz musl-6bffcc2335f584e45f0b704986413f42391c7057.zip |
fix sigorset/sigandset: _NSIG/8 is the size in bytes
Diffstat (limited to 'src/signal/sigandset.c')
-rw-r--r-- | src/signal/sigandset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/signal/sigandset.c b/src/signal/sigandset.c index f9204c49..e0c6f486 100644 --- a/src/signal/sigandset.c +++ b/src/signal/sigandset.c @@ -1,7 +1,7 @@ #define _GNU_SOURCE #include <signal.h> -#define SST_SIZE (_NSIG/8) +#define SST_SIZE (_NSIG/8/sizeof(long)) int sigandset(sigset_t *dest, sigset_t *left, sigset_t *right) { |