From 9bf4984a2a61379fc06a21cdab715de98c1f7a65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Wed, 13 May 2020 21:28:04 +0200 Subject: [PATCH] selinux: add parenthesis to function names in log messages --- src/core/selinux-access.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/selinux-access.c b/src/core/selinux-access.c index 56448c18f1..c6043943f1 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)