* lib/getugroups.c (getugroups): Detect getgrent failure. Adjust comment to reflect reality: this function may return -1.