aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-07-07 19:22:09 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-07-07 19:22:09 +0000
commitd72600e3e4f9e48fda8e3a7a9cefc30497282b0a (patch)
treeab901e15e3a45bd2a57964c67566193e68e2cd28
parentb9c426a147bf0db03cd3c045da4f884f2ea9259f (diff)
downloadpaludis-d72600e3e4f9e48fda8e3a7a9cefc30497282b0a.tar.gz
paludis-d72600e3e4f9e48fda8e3a7a9cefc30497282b0a.tar.xz
Unbreak SELinux
-rw-r--r--paludis/selinux/security_context.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/paludis/selinux/security_context.cc b/paludis/selinux/security_context.cc
index 754cfd2..9a0f18f 100644
--- a/paludis/selinux/security_context.cc
+++ b/paludis/selinux/security_context.cc
@@ -227,7 +227,8 @@ SecurityContext::ConstPointer MatchPathCon::match(const std::string & path, mode
security_context_t context;
if (0 != libselinux.matchpathcon(path.c_str(), mode, &context))
{
- Log::get_instance()->message(ll_warning, "Couldn't get default security context for '" + path + "'.");
+ Log::get_instance()->message(ll_warning, lc_no_context,
+ "Couldn't get default security context for '" + path + "'.");
// throw SELinuxException("Couldn't get default security context for '" + path + "'.");
}
else