[lvm-devel] LVM2/libdm libdm-common.c

prajnoha at sourceware.org prajnoha at sourceware.org
Mon Dec 13 12:18:39 UTC 2010


CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	prajnoha at sourceware.org	2010-12-13 12:18:38

Modified files:
	libdm          : libdm-common.c 

Log message:
	Missing #elif HAVE_SELINUX

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/libdm/libdm-common.c.diff?cvsroot=lvm2&r1=1.103&r2=1.104

--- LVM2/libdm/libdm-common.c	2010/12/13 10:43:58	1.103
+++ LVM2/libdm/libdm-common.c	2010/12/13 12:18:38	1.104
@@ -401,7 +401,7 @@
 		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;




More information about the lvm-devel mailing list