Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'uloop-epoll.c')
-rw-r--r--uloop-epoll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uloop-epoll.c b/uloop-epoll.c
index 9581e12..46fa101 100644
--- a/uloop-epoll.c
+++ b/uloop-epoll.c
@@ -58,7 +58,7 @@ uloop_setup_signalfd(bool add)
if (!add) {
uloop_fd_delete(&sfd);
- sigprocmask(SIG_BLOCK, &prev_mask, NULL);
+ sigprocmask(SIG_SETMASK, &prev_mask, NULL);
} else {
sigaddset(&mask, SIGQUIT);
sigaddset(&mask, SIGINT);