Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Fix a (currently) harmless brian-o in last.



details:   https://anonhg.NetBSD.org/src/rev/563944fa20f6
branches:  trunk
changeset: 472946:563944fa20f6
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu May 13 17:28:30 1999 +0000

description:
Fix a (currently) harmless brian-o in last.

diffstat:

 sys/kern/kern_exit.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 7875b740801f -r 563944fa20f6 sys/kern/kern_exit.c
--- a/sys/kern/kern_exit.c      Thu May 13 15:25:42 1999 +0000
+++ b/sys/kern/kern_exit.c      Thu May 13 17:28:30 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_exit.c,v 1.68 1999/05/13 00:59:04 thorpej Exp $   */
+/*     $NetBSD: kern_exit.c,v 1.69 1999/05/13 17:28:30 thorpej Exp $   */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -416,8 +416,8 @@
                 * if WALTSIG is set; wait for processes with p_exitsig ==
                 * SIGCHLD only if WALTSIG is clear.
                 */
-               if ((SCARG(uap, options) & WALTSIG) ? p->p_exitsig == SIGCHLD :
-                                                     p->p_exitsig != SIGCHLD)
+               if ((SCARG(uap, options) & WALTSIG) ? P_EXITSIG(p) == SIGCHLD :
+                                                     P_EXITSIG(p) != SIGCHLD)
                        continue;
 
                nfound++;



Home | Main Index | Thread Index | Old Index