ce426f
commit a11892631d92f594c690d0d50a642b0d1aba58b8
ce426f
Author: Ondřej Bílka <neleai@seznam.cz>
ce426f
Date:   Wed May 7 14:08:57 2014 +0200
ce426f
ce426f
    Fix typo in nscd/selinux.c
ce426f
ce426f
diff --git glibc-2.17-c758a686/nscd/selinux.c glibc-2.17-c758a686/nscd/selinux.c
ce426f
index 9a8a5a8..eaed6dd 100644
ce426f
--- glibc-2.17-c758a686/nscd/selinux.c
ce426f
+++ glibc-2.17-c758a686/nscd/selinux.c
ce426f
@@ -372,7 +372,7 @@ nscd_request_avc_has_perm (int fd, request_type req)
ce426f
   /* Get the security class for nscd.  If this fails we will likely be
ce426f
      unable to do anything unless avc_deny_unknown is 0.  */
ce426f
-  if ((sc_nscd = string_to_security_class ("nscd")) == 0
ce426f
-      && avc_deny_unknown == 1)
ce426f
+  sc_nscd = string_to_security_class ("nscd");
ce426f
+  if (sc_nscd == 0 && avc_deny_unknown == 1)
ce426f
     dbg_log (_("Error getting security class for nscd."));
ce426f
 
ce426f
   /* Convert permission to AVC bits.  */