1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Missing #elif HAVE_SELINUX

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

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;