1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-23 21:35:29 +03:00

Missing #elif HAVE_SELINUX

This commit is contained in:
Peter Rajnoha 2010-12-13 12:18:38 +00:00
parent bb37f26bbf
commit b3032f918e

View File

@ -401,7 +401,7 @@ static int _selabel_lookup(const char *path, mode_t mode,
log_error("selabel_lookup failed: %s", strerror(errno)); log_error("selabel_lookup failed: %s", strerror(errno));
return 0; return 0;
} }
#else #elif HAVE_SELINUX
if (matchpathcon(path, mode, scontext)) { if (matchpathcon(path, mode, scontext)) {
log_error("matchpathcon failed: %s", strerror(errno)); log_error("matchpathcon failed: %s", strerror(errno));
return 0; return 0;