Skip to content

Commit 5997b19

Browse files
committed
init_main: Fix logging of the SYSINIT process
The current subsystem, aka `sip->subsystem`, should be logged, rather than the last one. Reviewed by: mhorne Fixes: 5a8fceb boottrace: trace annotations for startup and shutdown MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D47903
1 parent a7cfcb2 commit 5997b19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sys/kern/init_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ mi_startup(void)
298298
#if defined(VERBOSE_SYSINIT)
299299
if (sip->subsystem > last && verbose_sysinit != 0) {
300300
verbose = 1;
301-
printf("subsystem %x\n", last);
301+
printf("subsystem %x\n", sip->subsystem);
302302
}
303303
if (verbose) {
304304
#if defined(DDB)

0 commit comments

Comments
 (0)