The branch main has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=37bc08d5fe9933f41574bf477080d729daf19928
commit 37bc08d5fe9933f41574bf477080d729daf19928 Author: Olivier Certner <[email protected]> AuthorDate: 2026-05-20 11:12:38 +0000 Commit: Olivier Certner <[email protected]> CommitDate: 2026-05-29 15:26:48 +0000 MAC/do: Constify is_null_or_empty() Reviewed by: bapt MFC after: 1 month Sponsored by: The FreeBSD Foundation Pull Request: https://ron-dev.freebsd.org/FreeBSD/src/pulls/38 --- sys/security/mac_do/mac_do.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/security/mac_do/mac_do.c b/sys/security/mac_do/mac_do.c index 03569fab87d6..493dcaf66f89 100644 --- a/sys/security/mac_do/mac_do.c +++ b/sys/security/mac_do/mac_do.c @@ -397,7 +397,7 @@ new_conf(void) } static bool -is_null_or_empty(const char *s) +is_null_or_empty(const char *const s) { return (s == NULL || s[0] == '\0'); }
