The branch main has been updated by kib:

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

commit 96dcff1a317f648886febbc15e606b4c6c45d11c
Author:     Konstantin Belousov <k...@freebsd.org>
AuthorDate: 2025-02-05 22:14:55 +0000
Commit:     Konstantin Belousov <k...@freebsd.org>
CommitDate: 2025-02-05 22:14:55 +0000

    audit/audit.c: fix typo KERNEL_PANICED->KERNEL_PANICKED
    
    Noted by:       cy
    Fixes:  53ece2bea9ffa654aaa50e (audit(9): do not touch VFS if  panicing)
    MFC after:      3 days
---
 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 8a9865bf233b..a47bc9554712 100644
--- a/sys/security/audit/audit.c
+++ b/sys/security/audit/audit.c
@@ -396,7 +396,7 @@ SYSINIT(audit_init, SI_SUB_AUDIT, SI_ORDER_FIRST, 
audit_init, NULL);
 void
 audit_shutdown(void *arg, int howto)
 {
-       if (KERNEL_PANICED())
+       if (KERNEL_PANICKED())
                return;
        audit_rotate_vnode(NULL, NULL);
 }

Reply via email to