summaryrefslogtreecommitdiffstats
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r--sys/kern/init_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index a911e11..284a84d 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -502,7 +502,7 @@ proc0_post(void *dummy __unused)
* time from the filesystem. Pretend that proc0 started now.
*/
sx_slock(&allproc_lock);
- LIST_FOREACH(p, &allproc, p_list) {
+ FOREACH_PROC_IN_SYSTEM(p) {
microuptime(&p->p_stats->p_start);
p->p_rux.rux_runtime = 0;
}
OpenPOWER on IntegriCloud