getnetconfig: Fix NC_BADFILE return from getnetconfigent(3t)
getnetconfig: Fix NC_BADFILE return from getnetconfigent(3t)

The blank line at the end of /etc/netconfig is invalid, and causes the
getnetconfigent(3t) family of APIs to fail inappropriately in some
cases.

Signed-off-by: Chuck Lever <e7d8216bf9b1956703857d0050bd04192118f43d@oracle.com>
Signed-off-by: Steve Dickson <305cc9d5027c0f4e08c2697d4cabde07a8221669@redhat.com>

sswen/ntirpc,Distrotech/libtirpc,Distrotech/libtirpc,Distrotech/libtirpc,sswen/ntirpc