git: 139a9451b910 - stable/14 - audit: Use proper prototype for SYSINIT functions
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 31 Jan 2026 18:27:57 UTC
The branch stable/14 has been updated by zlei:
URL: https://cgit.FreeBSD.org/src/commit/?id=139a9451b9105cad9ccb0b8e4eda91d9cbc40b69
commit 139a9451b9105cad9ccb0b8e4eda91d9cbc40b69
Author: Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2025-10-13 10:12:34 +0000
Commit: Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2026-01-31 18:25:05 +0000
audit: Use proper prototype for SYSINIT functions
MFC after: 1 week
(cherry picked from commit 32c1e940e07c48ab80427efd3d6ff2091407d577)
(cherry picked from commit c48a31e3508555606b4399d33000cf60fe98e207)
---
sys/security/audit/audit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/security/audit/audit.c b/sys/security/audit/audit.c
index 3fb38b083960..82f495f28cfc 100644
--- a/sys/security/audit/audit.c
+++ b/sys/security/audit/audit.c
@@ -330,7 +330,7 @@ audit_record_dtor(void *mem, int size, void *arg)
* call into the BSM assembly code to initialize it.
*/
static void
-audit_init(void)
+audit_init(void *dummy __unused)
{
audit_trail_enabled = 0;