make endmntent function handle null argument
commit0a24be213addfb32a8fdfc880fc2649f27d0b9ce
authorTimo Teräs <timo.teras@iki.fi>
Wed, 6 Aug 2014 11:15:15 +0000 (6 14:15 +0300)
committerRich Felker <dalias@aerifal.cx>
Fri, 8 Aug 2014 04:45:10 +0000 (8 00:45 -0400)
tree79231817785af6f0da0b66a763e39eefc720482a
parent00733dd1cf791d13ff6155509cf139a5f7b2eecb
make endmntent function handle null argument

The function originates from SunOS 4.x in which the null argument
is allowed. glibc also handles this case.
src/misc/mntent.c