Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jan 2026 17:04:28 +0000
From:      Zhenlei Huang <zlei@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: c48a31e35085 - stable/15 - audit: Use proper prototype for SYSINIT functions
Message-ID:  <697e361c.1a384.13cb4ce@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/15 has been updated by zlei:

URL: https://cgit.FreeBSD.org/src/commit/?id=c48a31e3508555606b4399d33000cf60fe98e207

commit c48a31e3508555606b4399d33000cf60fe98e207
Author:     Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2025-10-13 10:12:34 +0000
Commit:     Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2026-01-31 17:01:06 +0000

    audit: Use proper prototype for SYSINIT functions
    
    MFC after:      1 week
    
    (cherry picked from commit 32c1e940e07c48ab80427efd3d6ff2091407d577)
---
 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;


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?697e361c.1a384.13cb4ce>