diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2000-06-05 14:55:17 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2000-06-05 14:55:17 +0000 |
commit | 39b23799003b0582f7e9f1f0b6b21f6d0d2387ba (patch) | |
tree | 3756f6f51988d84b366cce74aca1e0a36bd5154f /sys/kern | |
parent | 73091b084d23482ba665f6e69fc121991b50f43a (diff) |
No need to use curproc here. We already know who we are.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_exit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c index bed30ca982f..853970f080a 100644 --- a/sys/kern/kern_exit.c +++ b/sys/kern/kern_exit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_exit.c,v 1.25 2000/06/05 11:02:50 art Exp $ */ +/* $OpenBSD: kern_exit.c,v 1.26 2000/06/05 14:55:16 art Exp $ */ /* $NetBSD: kern_exit.c,v 1.39 1996/04/22 01:38:25 christos Exp $ */ /* @@ -449,7 +449,7 @@ loop: return (0); } - scheduler_wait_hook(curproc, p); + scheduler_wait_hook(q, p); p->p_xstat = 0; ruadd(&q->p_stats->p_cru, p->p_ru); FREE(p->p_ru, M_ZOMBIE); |