diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2016-03-09 13:38:51 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2016-03-09 13:38:51 +0000 |
commit | ceff8857b3d865b9c88e078b2b79825de2ca5bfb (patch) | |
tree | 1306a24266d9a6a300b09660e7c0864b1caebc82 /sys/kern/kern_sig.c | |
parent | 915c509003ff173d8d3f034de16f7b505d93d4f9 (diff) |
Correct some comments and definitions, from Michal Mazurek.
Diffstat (limited to 'sys/kern/kern_sig.c')
-rw-r--r-- | sys/kern/kern_sig.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c index 56b3af9558a..e212ea40b68 100644 --- a/sys/kern/kern_sig.c +++ b/sys/kern/kern_sig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_sig.c,v 1.192 2016/01/09 06:13:43 semarie Exp $ */ +/* $OpenBSD: kern_sig.c,v 1.193 2016/03/09 13:38:50 mpi Exp $ */ /* $NetBSD: kern_sig.c,v 1.54 1996/04/22 01:38:32 christos Exp $ */ /* @@ -896,7 +896,7 @@ ptsignal(struct proc *p, int signum, enum signal_type type) panic("psignal signal number"); #endif - /* Ignore signal if we are exiting */ + /* Ignore signal if the target process is exiting */ if (pr->ps_flags & PS_EXITING) return; @@ -980,7 +980,7 @@ ptsignal(struct proc *p, int signum, enum signal_type type) } else { action = SIG_DFL; - if (prop & SA_KILL && pr->ps_nice > NZERO) + if (prop & SA_KILL && pr->ps_nice > NZERO) pr->ps_nice = NZERO; /* |