core/selinux-access: use empty_to_na where appropriate
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user