From: Mike Yuan Date: Mon, 29 Apr 2024 13:21:07 +0000 (+0800) Subject: core/selinux-access: use empty_to_na where appropriate X-Git-Tag: v256-rc2~125 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bd2f9415cce6ada2746b0e3328a1d86f4174c73;p=thirdparty%2Fsystemd.git core/selinux-access: use empty_to_na where appropriate --- diff --git a/src/core/selinux-access.c b/src/core/selinux-access.c index 8ce2d4e5a54..a67a520a3be 100644 --- a/src/core/selinux-access.c +++ b/src/core/selinux-access.c @@ -267,7 +267,7 @@ int mac_selinux_access_check_internal( log_full_errno_zerook(LOG_DEBUG, r, "SELinux access check scon=%s tcon=%s tclass=%s perm=%s state=%s function=%s path=%s cmdline=%s: %m", - scon, acon, tclass, permission, enforce ? "enforcing" : "permissive", function, strna(unit_path), strna(empty_to_null(cl))); + scon, acon, tclass, permission, enforce ? "enforcing" : "permissive", function, strna(unit_path), empty_to_na(cl)); return enforce ? r : 0; }