summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/syssignal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syssignal.h b/src/syssignal.h
index 25ef1c02924..374034df246 100644
--- a/src/syssignal.h
+++ b/src/syssignal.h
@@ -71,7 +71,7 @@ sigset_t sys_sigsetmask (sigset_t new_mask);
#ifdef USG5_4
#ifndef sigblock
-#define sigblock(sig) (sigprocmask (SIG_BLOCK, SIGEMPTYMASK & sig, NULL))
+#define sigblock(sig) (sigprocmask (SIG_BLOCK, SIGEMPTYMASK | sig, NULL))
#endif
#define sigunblock(sig) (sigprocmask (SIG_SETMASK, SIGFULLMASK & ~(sig), NULL))