selinux: add parenthesis to function names in log messages
This commit is contained in:
committed by
Lennart Poettering
parent
5141b4e3b6
commit
9bf4984a2a
@@ -227,7 +227,7 @@ int mac_selinux_generic_access_check(
|
||||
if (getfilecon_raw(path, &fcon) < 0) {
|
||||
r = -errno;
|
||||
|
||||
log_warning_errno(r, "SELinux getfilecon_raw on '%s' failed%s (perm=%s): %m",
|
||||
log_warning_errno(r, "SELinux getfilecon_raw() on '%s' failed%s (perm=%s): %m",
|
||||
path,
|
||||
enforce ? "" : ", ignoring",
|
||||
permission);
|
||||
@@ -243,7 +243,7 @@ int mac_selinux_generic_access_check(
|
||||
if (getcon_raw(&fcon) < 0) {
|
||||
r = -errno;
|
||||
|
||||
log_warning_errno(r, "SELinux getcon_raw failed%s (perm=%s): %m",
|
||||
log_warning_errno(r, "SELinux getcon_raw() failed%s (perm=%s): %m",
|
||||
enforce ? "" : ", ignoring",
|
||||
permission);
|
||||
if (!enforce)
|
||||
|
||||
Reference in New Issue
Block a user