* nis/nis_subr.c (nis_getnames): Fix the implementation to better