diff options
author | Thomas Nordin <nordin@cvs.openbsd.org> | 2002-01-30 20:29:45 +0000 |
---|---|---|
committer | Thomas Nordin <nordin@cvs.openbsd.org> | 2002-01-30 20:29:45 +0000 |
commit | c7b223fb77e2a96d9713a5ad6a7fdc51eefc3a18 (patch) | |
tree | 17a230b08704e1010e3bd9ba211c0cff3ca4a476 /sys/kern | |
parent | 5b119e8ad657049115a40336143bcd30b912b268 (diff) |
Add proc0 to the PIDHASH table. art@ ok
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/init_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 2334eb947b4..d1cd0f7c354 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: init_main.c,v 1.91 2002/01/16 20:50:17 miod Exp $ */ +/* $OpenBSD: init_main.c,v 1.92 2002/01/30 20:29:44 nordin Exp $ */ /* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */ /* @@ -243,6 +243,7 @@ main(framep) */ LIST_INSERT_HEAD(&allproc, p, p_list); p->p_pgrp = &pgrp0; + LIST_INSERT_HEAD(PIDHASH(0), p, p_hash); LIST_INSERT_HEAD(PGRPHASH(0), &pgrp0, pg_hash); LIST_INIT(&pgrp0.pg_members); LIST_INSERT_HEAD(&pgrp0.pg_members, p, p_pglist); |