git: 32c1e940e07c - main - audit: Use proper prototype for SYSINIT functions
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 Oct 2025 10:14:04 UTC
The branch main has been updated by zlei:
URL: https://cgit.FreeBSD.org/src/commit/?id=32c1e940e07c48ab80427efd3d6ff2091407d577
commit 32c1e940e07c48ab80427efd3d6ff2091407d577
Author: Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2025-10-13 10:12:34 +0000
Commit: Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2025-10-13 10:12:34 +0000
audit: Use proper prototype for SYSINIT functions
MFC after: 1 week
---
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 7ec50d990d4e..876776e5f62e 100644
--- a/sys/security/audit/audit.c
+++ b/sys/security/audit/audit.c
@@ -329,7 +329,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;