summary refs log tree commit diff
path: root/nss/nsswitch.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-12-27 09:14:45 +0000
committerJakub Jelinek <jakub@redhat.com>2007-12-27 09:14:45 +0000
commitf163450fc0969ebd6f63c5d9bd059f6f0d107d75 (patch)
tree1d7cb198dead8b16362e6ed6b8f71f52fb50a0d0 /nss/nsswitch.c
parentc5899b63ebb80de72b909a475e1dd41b99a4080c (diff)
downloadglibc-f163450fc0969ebd6f63c5d9bd059f6f0d107d75.tar.gz
glibc-f163450fc0969ebd6f63c5d9bd059f6f0d107d75.tar.xz
glibc-f163450fc0969ebd6f63c5d9bd059f6f0d107d75.zip
Updated to fedora-glibc-20071227T0908 cvs/fedora-glibc-2_7_90-2
Diffstat (limited to 'nss/nsswitch.c')
-rw-r--r--nss/nsswitch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nss/nsswitch.c b/nss/nsswitch.c
index 28aa1b4f34..c0b661feb3 100644
--- a/nss/nsswitch.c
+++ b/nss/nsswitch.c
@@ -150,7 +150,7 @@ __nss_lookup (service_user **ni, const char *fct_name, const char *fct2_name,
 {
   *fctp = __nss_lookup_function (*ni, fct_name);
   if (*fctp == NULL && fct2_name != NULL)
-    *fctp = __nss_lookup_function (*ni, fct_name);
+    *fctp = __nss_lookup_function (*ni, fct2_name);
 
   while (*fctp == NULL
 	 && nss_next_action (*ni, NSS_STATUS_UNAVAIL) == NSS_ACTION_CONTINUE
@@ -160,7 +160,7 @@ __nss_lookup (service_user **ni, const char *fct_name, const char *fct2_name,
 
       *fctp = __nss_lookup_function (*ni, fct_name);
       if (*fctp == NULL && fct2_name != NULL)
-	*fctp = __nss_lookup_function (*ni, fct_name);
+	*fctp = __nss_lookup_function (*ni, fct2_name);
     }
 
   return *fctp != NULL ? 0 : (*ni)->next == NULL ? 1 : -1;