]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/journal/journald-server.c
selinux: split up mac_selinux_have() from mac_selinux_use()
[thirdparty/systemd.git] / src / journal / journald-server.c
index 7d11a568aa1ce42463317e7550667f5eedf807d2..eb17f413f2cfcc384c198e030bb374bb1d7a32b0 100644 (file)
@@ -707,7 +707,7 @@ static void dispatch_message_real(
                 }
 
 #ifdef HAVE_SELINUX
-                if (mac_selinux_use()) {
+                if (mac_selinux_have()) {
                         if (label) {
                                 x = alloca(strlen("_SELINUX_CONTEXT=") + label_len + 1);