git: d9f1f0a90183 - main - boottrace: Use NULL for SYSINIT's last arg, which is a pointer type
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 14 May 2024 04:04:52 UTC
The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=d9f1f0a901831ff960380fe82a2abe99a3721f87 commit d9f1f0a901831ff960380fe82a2abe99a3721f87 Author: Zhenlei Huang <zlei@FreeBSD.org> AuthorDate: 2024-05-14 04:03:50 +0000 Commit: Zhenlei Huang <zlei@FreeBSD.org> CommitDate: 2024-05-14 04:03:50 +0000 boottrace: Use NULL for SYSINIT's last arg, which is a pointer type MFC after: 3 days --- sys/kern/kern_boottrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/kern_boottrace.c b/sys/kern/kern_boottrace.c index 86fee4f47fbe..1b097e7378ad 100644 --- a/sys/kern/kern_boottrace.c +++ b/sys/kern/kern_boottrace.c @@ -613,4 +613,4 @@ boottrace_init(void) st.table = malloc(st.size * sizeof(struct bt_event), M_BOOTTRACE, M_WAITOK | M_ZERO); } -SYSINIT(boottrace, SI_SUB_CPU, SI_ORDER_ANY, boottrace_init, 0); +SYSINIT(boottrace, SI_SUB_CPU, SI_ORDER_ANY, boottrace_init, NULL);