Source-Changes-HG archive

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

[src/nathanw_sa]: src/sys/kern Pass two args to lwp_coredump_hook().



details:   https://anonhg.NetBSD.org/src/rev/4cbbafb955a4
branches:  nathanw_sa
changeset: 506197:4cbbafb955a4
user:      nathanw <nathanw%NetBSD.org@localhost>
date:      Thu Aug 29 17:16:23 2002 +0000

description:
Pass two args to lwp_coredump_hook().

diffstat:

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

diffs (27 lines):

diff -r 5ece51c9be97 -r 4cbbafb955a4 sys/kern/kern_sig.c
--- a/sys/kern/kern_sig.c       Thu Aug 29 16:58:55 2002 +0000
+++ b/sys/kern/kern_sig.c       Thu Aug 29 17:16:23 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_sig.c,v 1.112.2.25 2002/08/29 16:58:55 nathanw Exp $      */
+/*     $NetBSD: kern_sig.c,v 1.112.2.26 2002/08/29 17:16:23 nathanw Exp $      */
 
 /*
  * Copyright (c) 1982, 1986, 1989, 1991, 1993
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_sig.c,v 1.112.2.25 2002/08/29 16:58:55 nathanw Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_sig.c,v 1.112.2.26 2002/08/29 17:16:23 nathanw Exp $");
 
 #include "opt_ktrace.h"
 #include "opt_compat_sunos.h"
@@ -1529,7 +1529,7 @@
         * in the same process.
         */
        if (p->p_flag & P_WEXIT)
-               lwp_coredump_hook(l);
+               lwp_coredump_hook(l, NULL);
        p->p_flag |= P_WEXIT;
        /* Make other LWPs stick around long enough to be dumped */
        p->p_userret = lwp_coredump_hook;



Home | Main Index | Thread Index | Old Index