summaryrefslogtreecommitdiffstats
path: root/libdm/libdm-common.c
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2010-12-13 12:18:38 +0000
committerPeter Rajnoha <prajnoha@redhat.com>2010-12-13 12:18:38 +0000
commitc0920fbf2a42988643d4238bec5dc91dc83fca25 (patch)
treed7ea87f188e3ddc276c271fb20d1dba560958557 /libdm/libdm-common.c
parentdd1f2c095930947cb882784a6f13bc20f6184cf3 (diff)
downloadlvm2-c0920fbf2a42988643d4238bec5dc91dc83fca25.tar.gz
lvm2-c0920fbf2a42988643d4238bec5dc91dc83fca25.tar.xz
lvm2-c0920fbf2a42988643d4238bec5dc91dc83fca25.zip
Missing #elif HAVE_SELINUX
Diffstat (limited to 'libdm/libdm-common.c')
-rw-r--r--libdm/libdm-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdm/libdm-common.c b/libdm/libdm-common.c
index cca29a7f..d3f0d2a0 100644
--- a/libdm/libdm-common.c
+++ b/libdm/libdm-common.c
@@ -401,7 +401,7 @@ static int _selabel_lookup(const char *path, mode_t mode,
log_error("selabel_lookup failed: %s", strerror(errno));
return 0;
}
-#else
+#elif HAVE_SELINUX
if (matchpathcon(path, mode, scontext)) {
log_error("matchpathcon failed: %s", strerror(errno));
return 0;