summaryrefslogtreecommitdiff
path: root/source3/lib/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r--source3/lib/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 6a4861981d..657e9cb1a0 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -3127,7 +3127,7 @@ void BlockSignals(BOOL block)
if (block)
sigblock(block_mask);
else
- sigunblock(block_mask);
+ sigsetmask(0);
#endif
}