diff options
author | ngie <ngie@FreeBSD.org> | 2016-05-04 00:29:05 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2016-05-04 00:29:05 +0000 |
commit | e47fda35686eefd0d999881cb8255c6bc4092112 (patch) | |
tree | 2444c93e49324aa7068ead8b840cc7baff60c6eb /lib/libc/tests/stdio/fmemopen2_test.c | |
parent | 2a062cd701612c43c2847135646eb984789b4396 (diff) | |
download | FreeBSD-src-e47fda35686eefd0d999881cb8255c6bc4092112.zip FreeBSD-src-e47fda35686eefd0d999881cb8255c6bc4092112.tar.gz |
MFC r298368,r298660:
r298368:
Fix coverity issue with contrib/netbsd-tests/lib/libc/ssp/h_read.c
Ensure opening /dev/zero succeeds. Abort the test if it doesn't.
Also, use _PATH_DEVZERO instead of hardcoding "/dev/zero"
CID: 1251410
r298660:
Fix up r298368
Remove the semicolon accidentally added after the new conditional that tests
that /dev/zero is opened successfully.
CID: 1354980
Diffstat (limited to 'lib/libc/tests/stdio/fmemopen2_test.c')
0 files changed, 0 insertions, 0 deletions