git: 1652c9e29f5b - stable/14 - boottrace: Use NULL for SYSINIT's last arg, which is a pointer type
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 May 2024 04:07:35 UTC
The branch stable/14 has been updated by zlei:
URL: https://cgit.FreeBSD.org/src/commit/?id=1652c9e29f5b12688c49f02b6ecef550e5650bfe
commit 1652c9e29f5b12688c49f02b6ecef550e5650bfe
Author: Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2024-05-14 04:03:50 +0000
Commit: Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2024-05-17 04:06:50 +0000
boottrace: Use NULL for SYSINIT's last arg, which is a pointer type
MFC after: 3 days
(cherry picked from commit d9f1f0a901831ff960380fe82a2abe99a3721f87)
---
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);