summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Denemark <jdenemar@redhat.com>2013-01-24 14:10:50 +0100
committerJiri Denemark <jdenemar@redhat.com>2013-01-24 14:10:50 +0100
commit3b35369c0fbc58988f4f68ca2cdb87c481f42e98 (patch)
treec223aa4814b58c7da49d7637d8a4f24a8794c267
parentd4b7309a9c97aa0929a6257617fc03329360b72f (diff)
downloadlibvirt-1.0.2-rc1.tar.gz
selinux: Properly indent preprocessor directivesv1.0.2-rc1
-rw-r--r--src/security/security_selinux.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/security/security_selinux.c b/src/security/security_selinux.c
index 2affe69484..fa2ee57c2e 100644
--- a/src/security/security_selinux.c
+++ b/src/security/security_selinux.c
@@ -370,14 +370,14 @@ virSecuritySELinuxLXCInitialize(virSecurityManagerPtr mgr)
data->skipAllLabel = true;
-#if HAVE_SELINUX_LABEL_H
+# if HAVE_SELINUX_LABEL_H
data->label_handle = selabel_open(SELABEL_CTX_FILE, NULL, 0);
if (!data->label_handle) {
virReportSystemError(errno, "%s",
_("cannot open SELinux label_handle"));
return -1;
}
-#endif
+# endif
selinux_conf = virConfReadFile(selinux_lxc_contexts_path(), 0);
if (!selinux_conf) {
@@ -430,9 +430,9 @@ virSecuritySELinuxLXCInitialize(virSecurityManagerPtr mgr)
return 0;
error:
-#if HAVE_SELINUX_LABEL_H
+# if HAVE_SELINUX_LABEL_H
selabel_close(data->label_handle);
-#endif
+# endif
virConfFree(selinux_conf);
VIR_FREE(data->domain_context);
VIR_FREE(data->file_context);