Date: Wed, 5 Feb 2025 22:17:27 GMT From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 96dcff1a317f - main - audit/audit.c: fix typo KERNEL_PANICED->KERNEL_PANICKED Message-ID: <202502052217.515MHRk5055313@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=96dcff1a317f648886febbc15e606b4c6c45d11c commit 96dcff1a317f648886febbc15e606b4c6c45d11c Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2025-02-05 22:14:55 +0000 Commit: Konstantin Belousov <kib@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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202502052217.515MHRk5055313>