summaryrefslogtreecommitdiff
path: root/libc/signal/sigemptyset.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/signal/sigemptyset.c')
-rw-r--r--libc/signal/sigemptyset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/signal/sigemptyset.c b/libc/signal/sigemptyset.c
index c38cb0e5a..19d8dabdf 100644
--- a/libc/signal/sigemptyset.c
+++ b/libc/signal/sigemptyset.c
@@ -25,7 +25,7 @@ int
sigemptyset ( sigset_t *set)
{
if (set == NULL) {
- errno = EINVAL;
+ __set_errno(EINVAL);
return -1;
}