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