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