summaryrefslogtreecommitdiff
path: root/libc/signal
diff options
context:
space:
mode:
Diffstat (limited to 'libc/signal')
-rw-r--r--libc/signal/sigwait.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/signal/sigwait.c b/libc/signal/sigwait.c
index 8fd7ea81f..634a18dc5 100644
--- a/libc/signal/sigwait.c
+++ b/libc/signal/sigwait.c
@@ -96,7 +96,7 @@ int sigwait (const sigset_t *set, int *sig)
int sigwait (const sigset_t *set, int *sig)
{
int ret = 1;
- if ((ret = sigwaitinfo(set, NULL)) != -1) {
+ if ((ret = __sigwaitinfo(set, NULL)) != -1) {
*sig = ret;
return 0;
}