chiark / gitweb /
sd-rtnl: fix reading of nla type
[elogind.git] / src / journal / journald-syslog.c
index 656dc72bb9b3828fcbaed1a065bc81db354174cd..79c07fffa1d1b646e31583dec467a6310bba7fae 100644 (file)
@@ -457,7 +457,7 @@ int server_open_syslog_socket(Server *s) {
         }
 
 #ifdef HAVE_SELINUX
-        if (use_selinux()) {
+        if (mac_selinux_use()) {
                 one = 1;
                 r = setsockopt(s->syslog_fd, SOL_SOCKET, SO_PASSSEC, &one, sizeof(one));
                 if (r < 0)