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