diff options
Diffstat (limited to 'sysdeps/generic')
-rw-r--r-- | sysdeps/generic/sigsetops.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/generic/sigsetops.h b/sysdeps/generic/sigsetops.h index ea2c5b5767..6d1c004b04 100644 --- a/sysdeps/generic/sigsetops.h +++ b/sysdeps/generic/sigsetops.h @@ -56,20 +56,20 @@ # define __sigismember(set, sig) \ (__extension__ ({ \ __sigset_t __mask = __sigmask (sig); \ - (set) & __mask ? 1 : 0; \ + *(set) & __mask ? 1 : 0; \ })) # define __sigaddset(set, sig) \ (__extension__ ({ \ __sigset_t __mask = __sigmask (sig); \ - (set) |= __mask; \ + *(set) |= __mask; \ (void)0; \ })) # define __sigdelset(set, sig) \ (__extension__ ({ \ __sigset_t __mask = __sigmask (sig); \ - (set) &= ~__mask; \ + *(set) &= ~__mask; \ (void)0; \ })) |