Fix YP user and group support in getent(1).
authordoug <doug@openbsd.org>
Sat, 10 Oct 2015 21:50:05 +0000 (21:50 +0000)
committerdoug <doug@openbsd.org>
Sat, 10 Oct 2015 21:50:05 +0000 (21:50 +0000)
commitdd884e3b872e7a9f07461fcaf950f39be411cfc4
tree7abe2ab1e71fa7e1a82d2ef13d3360850b3680a6
parentfc67ef4b4a49d63c1e9009c7f95f39ed9abaea3c
Fix YP user and group support in getent(1).

These should have been "stdio getpw" before, but they worked for non-YP
environments.  With YP, it won't work without "getpw".

Reported by semarie@ and confirmed as a problem by miod@.

ok deraadt@
usr.bin/getent/getent.c