diff options
author | ngie <ngie@FreeBSD.org> | 2015-12-06 00:42:11 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-12-06 00:42:11 +0000 |
commit | 51e48e07fddf9730600dec32c469c760f731bed5 (patch) | |
tree | 6b2e4533ad140ab45755c79cef2a60a2308894f2 /lib/libc/tests/stdio/getdelim_test.c | |
parent | 13fcf1f8c2ed94cbabd6a4bee12f8ffb806252c5 (diff) | |
parent | 89ed7c325f5da55542cc3e261954ed9be69622d1 (diff) | |
download | FreeBSD-src-51e48e07fddf9730600dec32c469c760f731bed5.zip FreeBSD-src-51e48e07fddf9730600dec32c469c760f731bed5.tar.gz |
MFhead@r291879
Diffstat (limited to 'lib/libc/tests/stdio/getdelim_test.c')
-rw-r--r-- | lib/libc/tests/stdio/getdelim_test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/tests/stdio/getdelim_test.c b/lib/libc/tests/stdio/getdelim_test.c index ffc6810..b7596b3 100644 --- a/lib/libc/tests/stdio/getdelim_test.c +++ b/lib/libc/tests/stdio/getdelim_test.c @@ -177,6 +177,7 @@ ATF_TC_BODY(nul, tc) char *line; size_t linecap, n; + errno = 0; line = NULL; linecap = 0; /* Make sure a NUL delimiter works. */ |