Author: markj Date: Tue Aug 28 15:18:14 2018 New Revision: 338350 URL: https://svnweb.freebsd.org/changeset/base/338350
Log: Add missing endpwent() and endgrent() calls to nfsuserd(8). PR: 230937 Submitted by: Peter Eriksson <pe...@ifm.liu.se> Reviewed by: rmacklem Approved by: re (gjb) MFC after: 1 week Modified: head/usr.sbin/nfsuserd/nfsuserd.c Modified: head/usr.sbin/nfsuserd/nfsuserd.c ============================================================================== --- head/usr.sbin/nfsuserd/nfsuserd.c Tue Aug 28 14:53:03 2018 (r338349) +++ head/usr.sbin/nfsuserd/nfsuserd.c Tue Aug 28 15:18:14 2018 (r338350) @@ -334,6 +334,7 @@ main(int argc, char *argv[]) #endif i++; } + endgrent(); /* * Loop around adding all users. @@ -382,6 +383,7 @@ main(int argc, char *argv[]) #endif i++; } + endpwent(); /* * I should feel guilty for not calling this for all the above exit() _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"