git: f99c921251ae - stable/15 - MAC/do: Expand "conf" to "configuration" in a panic message on INVARIANTS

From: Olivier Certner <olce_at_FreeBSD.org>
Date: Mon, 29 Jun 2026 19:25:36 UTC
The branch stable/15 has been updated by olce:

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

commit f99c921251aef519ed8926d3512f968006fcb84c
Author:     Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2026-03-23 14:42:07 +0000
Commit:     Olivier Certner <olce@FreeBSD.org>
CommitDate: 2026-06-29 19:23:38 +0000

    MAC/do: Expand "conf" to "configuration" in a panic message on INVARIANTS
    
    No functional change.
    
    Reviewed by:    bapt
    Fixes:          9818224174c4 ("MAC/do: Executable paths feature (GSoC 2025's final state)")
    MFC after:      1 month
    Sponsored by:   The FreeBSD Foundation
    Pull Request:   https://ron-dev.freebsd.org/FreeBSD/src/pulls/38
    
    (cherry picked from commit 22a0912bb1dc71f18d2e33ec9915a54a8324a3ff)
---
 sys/security/mac_do/mac_do.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/security/mac_do/mac_do.c b/sys/security/mac_do/mac_do.c
index 95c7007b6a8a..16f7d90f031b 100644
--- a/sys/security/mac_do/mac_do.c
+++ b/sys/security/mac_do/mac_do.c
@@ -1203,8 +1203,8 @@ check_conf_use_count(const struct conf *const conf, u_int expected)
 	const u_int use_count = refcount_load(&conf->use_count);
 
 	if (use_count != expected)
-		panic("MAC/do: Conf at %p: Use count is %u, expected %u",
-		    conf, use_count, expected);
+		panic("MAC/do: Configuration at %p: Use count is %u, "
+		    "expected %u", conf, use_count, expected);
 }
 #else
 #define check_conf_use_count(...)