diff options
Diffstat (limited to 'nscd')
-rw-r--r-- | nscd/selinux.c | 2 |
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. */ |