One more place to fix.
authordrepper <drepper>
Tue, 9 May 2006 22:46:57 +0000 (22:46 +0000)
committerdrepper <drepper>
Tue, 9 May 2006 22:46:57 +0000 (22:46 +0000)
nss/nsswitch.c

index 1ff8a39..21174df 100644 (file)
@@ -224,7 +224,7 @@ __nss_configure_lookup (const char *dbname, const char *service_line)
        }
     }
 
-  if (cnt == sizeof databases)
+  if (cnt == ndatabases)
     {
       __set_errno (EINVAL);
       return -1;