From: Christian Göttsche Date: Wed, 13 May 2020 19:28:04 +0000 (+0200) Subject: selinux: add parenthesis to function names in log messages X-Git-Tag: v246-rc1~376 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bf4984a2a61379fc06a21cdab715de98c1f7a65;p=thirdparty%2Fsystemd.git selinux: add parenthesis to function names in log messages --- diff --git a/src/core/selinux-access.c b/src/core/selinux-access.c index 56448c18f12..c6043943f16 100644 --- a/src/core/selinux-access.c +++ b/src/core/selinux-access.c @@ -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)