diff options
Diffstat (limited to 'libc/signal/sigintr.c')
-rw-r--r-- | libc/signal/sigintr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/signal/sigintr.c b/libc/signal/sigintr.c index 23f87e199..1a8d60eb2 100644 --- a/libc/signal/sigintr.c +++ b/libc/signal/sigintr.c @@ -34,6 +34,7 @@ int siginterrupt (int sig, int interrupt) #ifdef SA_RESTART struct sigaction action; + /* Fails if sig is bad. */ if (sigaction (sig, NULL, &action) < 0) return -1; |