diff options
| author | Olivier Certner <olce@FreeBSD.org> | 2026-05-20 11:12:38 +0000 |
|---|---|---|
| committer | Olivier Certner <olce@FreeBSD.org> | 2026-05-29 15:26:48 +0000 |
| commit | 37bc08d5fe9933f41574bf477080d729daf19928 (patch) | |
| tree | 73356e5c5bab5a0abcd1e29847882b6568dccce1 | |
| parent | dbf8f0895ad86fea10adbd678873f8af0bd7558c (diff) | |
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
| -rw-r--r-- | sys/security/mac_do/mac_do.c | 2 |
1 files changed, 1 insertions, 1 deletions
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'); } |
