Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 May 2024 04:04:52 GMT
From:      Zhenlei Huang <zlei@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: d9f1f0a90183 - main - boottrace: Use NULL for SYSINIT's last arg, which is a pointer type
Message-ID:  <202405140404.44E44qhx018245@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405140404.44E44qhx018245>