summaryrefslogtreecommitdiff
path: root/libc/signal/sigismem.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/signal/sigismem.c')
-rw-r--r--libc/signal/sigismem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/signal/sigismem.c b/libc/signal/sigismem.c
index 3e9b67c6c..64b14f37e 100644
--- a/libc/signal/sigismem.c
+++ b/libc/signal/sigismem.c
@@ -25,7 +25,7 @@
int sigismember ( const sigset_t *set, int signo)
{
if (set == NULL || signo <= 0 || signo >= NSIG) {
- errno=EINVAL;
+ __set_errno(EINVAL);
return -1;
}