aboutsummaryrefslogtreecommitdiff
path: root/nscd
diff options
context:
space:
mode:
authorOndřej Bílka <neleai@seznam.cz>2014-05-07 14:08:57 +0200
committerOndřej Bílka <neleai@seznam.cz>2014-05-07 14:09:24 +0200
commita11892631d92f594c690d0d50a642b0d1aba58b8 (patch)
tree3ff17001b266800cb873d861cdb535d613865d5c /nscd
parentce0c5b8f365c73fc647f9a2a43fa988e6f0f46f4 (diff)
downloadglibc-a11892631d92f594c690d0d50a642b0d1aba58b8.zip
glibc-a11892631d92f594c690d0d50a642b0d1aba58b8.tar.gz
glibc-a11892631d92f594c690d0d50a642b0d1aba58b8.tar.bz2
Fix typo in nscd/selinux.c
Diffstat (limited to 'nscd')
-rw-r--r--nscd/selinux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nscd/selinux.c b/nscd/selinux.c
index 9a8a5a8..eaed6dd 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. */