From a11892631d92f594c690d0d50a642b0d1aba58b8 Mon Sep 17 00:00:00 2001 From: Ondřej Bílka Date: Wed, 7 May 2014 14:08:57 +0200 Subject: Fix typo in nscd/selinux.c --- nscd/selinux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nscd') diff --git a/nscd/selinux.c b/nscd/selinux.c index 9a8a5a86d3..eaed6ddaa2 100644 --- a/nscd/selinux.c +++ b/nscd/selinux.c @@ -372,7 +372,7 @@ nscd_request_avc_has_perm (int fd, request_type req) /* Get the security class for nscd. If this fails we will likely be unable to do anything unless avc_deny_unknown is 0. */ sc_nscd = string_to_security_class ("nscd"); - if (perm == 0 && avc_deny_unknown == 1) + if (sc_nscd == 0 && avc_deny_unknown == 1) dbg_log (_("Error getting security class for nscd.")); /* Convert permission to AVC bits. */ -- cgit v1.2.3