]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
selinux: add parenthesis to function names in log messages
authorChristian Göttsche <cgzones@googlemail.com>
Wed, 13 May 2020 19:28:04 +0000 (21:28 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 14 May 2020 07:03:51 +0000 (09:03 +0200)
src/core/selinux-access.c

index 56448c18f12023f31b6deb42f516b0274101e787..c6043943f16c44ac77af45b45756b9c6f11f7d12 100644 (file)
@@ -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)