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
commit3cd2115e7982b4b968bbd7349be28b2bfea3580b (patch)
treeddcbb485960b5274dc5993acb8d5d6fbcdf039e5 /src/syssignal.h
parenta302b6dedc902634b6752da38cb891a5f5fb9fae (diff)
downloademacs-3cd2115e7982b4b968bbd7349be28b2bfea3580b.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))