diff options
Diffstat (limited to 'libc/signal/sigblock.c')
-rw-r--r-- | libc/signal/sigblock.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/signal/sigblock.c b/libc/signal/sigblock.c index 72b42c45e..5a16f336b 100644 --- a/libc/signal/sigblock.c +++ b/libc/signal/sigblock.c @@ -32,8 +32,7 @@ int sigblock (int mask) sigset_t set, oset; sigset_set_old_mask (&set, mask); - if (sigprocmask (SIG_BLOCK, &set, &oset) < 0) - return -1; + sigprocmask (SIG_BLOCK, &set, &oset); /* can't fail */ return sigset_get_old_mask (&oset); } libc_hidden_def(sigblock) |