int old_errno = errno;
if (!initialized) {
- if (w.lookup(&startp, w.fct_name, &fct_start) != 0) {
+ if (w.lookup2(&startp, w.fct_name, NULL, &fct_start) != 0) {
*w.status = NSS_STATUS_UNAVAIL;
goto walk_nss_out;
}
}
goto walk_nss_morebuf;
}
- } while (__nss_next(&nip, w.fct_name, &fct.ptr, *w.status, w.all_values) ==
- 0);
+ } while (__nss_next2(&nip, w.fct_name, NULL, &fct.ptr, *w.status,
+ w.all_values) == 0);
if (w.buf != NULL && *w.status != NSS_STATUS_SUCCESS) {
free(*w.buf);