From a61771a7ded48811b10f380890c0972ab00e1cc3 Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Tue, 15 Oct 2024 11:54:08 +0000 Subject: Use pr instead of p->p_p like everywhere else in exit1. --- sys/kern/kern_exit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c index dd9a124f78d..5dee520ef44 100644 --- a/sys/kern/kern_exit.c +++ b/sys/kern/kern_exit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_exit.c,v 1.237 2024/10/08 12:02:24 claudio Exp $ */ +/* $OpenBSD: kern_exit.c,v 1.238 2024/10/15 11:54:07 claudio Exp $ */ /* $NetBSD: kern_exit.c,v 1.39 1996/04/22 01:38:25 christos Exp $ */ /* @@ -172,7 +172,7 @@ exit1(struct proc *p, int xexit, int xsig, int flags) /* proc is off ps_threads list so update accounting of process now */ tuagg_add_runtime(); - tuagg_add_process(p->p_p, p); + tuagg_add_process(pr, p); if ((p->p_flag & P_THREAD) == 0) { /* main thread gotta wait because it has the pid, et al */ -- cgit v1.2.3