summaryrefslogtreecommitdiff
path: root/libc/signal/sigaddset.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/signal/sigaddset.c')
-rw-r--r--libc/signal/sigaddset.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/signal/sigaddset.c b/libc/signal/sigaddset.c
index 7e800a7f1..837f65329 100644
--- a/libc/signal/sigaddset.c
+++ b/libc/signal/sigaddset.c
@@ -30,6 +30,7 @@ sigaddset (sigset_t *set, int signo)
return -1;
}
- return __sigaddset (set, signo);
+ __sigaddset (set, signo);
+ return 0;
}
libc_hidden_def(sigaddset)