svn commit: r338455 - stable/11/usr.sbin/nfsuserd
Mark Johnston
markj at FreeBSD.org
Tue Sep 4 16:45:09 UTC 2018
Author: markj
Date: Tue Sep 4 16:45:08 2018
New Revision: 338455
URL: https://svnweb.freebsd.org/changeset/base/338455
Log:
MFC r338350:
Add missing endpwent() and endgrent() calls to nfsuserd(8).
PR: 230937
Modified:
stable/11/usr.sbin/nfsuserd/nfsuserd.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/usr.sbin/nfsuserd/nfsuserd.c
==============================================================================
--- stable/11/usr.sbin/nfsuserd/nfsuserd.c Tue Sep 4 15:48:13 2018 (r338454)
+++ stable/11/usr.sbin/nfsuserd/nfsuserd.c Tue Sep 4 16:45:08 2018 (r338455)
@@ -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()
More information about the svn-src-all
mailing list