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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/signal/sigdelset.c b/libc/signal/sigdelset.c
index de3b12ff0..9f3ab6659 100644
--- a/libc/signal/sigdelset.c
+++ b/libc/signal/sigdelset.c
@@ -29,6 +29,7 @@ int sigdelset (sigset_t *set, int signo)
return -1;
}
- return __sigdelset (set, signo);
+ __sigdelset (set, signo);
+ return 0;
}
libc_hidden_def(sigdelset)