summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_sig.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_sig.c')
-rw-r--r--sys/kern/kern_sig.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c
index ce6d7fa..d2c8013 100644
--- a/sys/kern/kern_sig.c
+++ b/sys/kern/kern_sig.c
@@ -3045,8 +3045,10 @@ postsig(int sig)
/*
* If we get here, the signal must be caught.
*/
- KASSERT(action != SIG_IGN && !SIGISMEMBER(td->td_sigmask, sig),
- ("postsig action"));
+ KASSERT(action != SIG_IGN, ("postsig action %p", action));
+ KASSERT(!SIGISMEMBER(td->td_sigmask, sig),
+ ("postsig action: blocked sig %d", sig));
+
/*
* Set the new mask value and also defer further
* occurrences of this signal.
OpenPOWER on IntegriCloud