summaryrefslogtreecommitdiff
path: root/src/syssignal.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-06-16 18:51:07 +0000
committerRichard M. Stallman <rms@gnu.org>1994-06-16 18:51:07 +0000
commitd8b3c19089f7b16fed7549bca34ecfe6c29ec62f (patch)
treed234f399e586811c3e2be9e7fe2f6aecbb6504f1 /src/syssignal.h
parent7df79bd462b98b6ee9844200378340c10aeeb7d8 (diff)
downloademacs-d8b3c19089f7b16fed7549bca34ecfe6c29ec62f.tar.gz
[USG5_4] (sigblock): Use |, not &.
Diffstat (limited to 'src/syssignal.h')
-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))