summaryrefslogtreecommitdiffstats
path: root/lib/libc/tests/stdio/perror_test.c
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-12-05 21:49:35 +0000
committerngie <ngie@FreeBSD.org>2015-12-05 21:49:35 +0000
commit5e0ed4fa0a68fde14782f68c7461b8b95176515b (patch)
tree7ee2292c97b1b6b9a0064ff90fcd38f441a9828d /lib/libc/tests/stdio/perror_test.c
parent11ddbfbc5cbb55d74dd49e7d13251e56cb1dff91 (diff)
downloadFreeBSD-src-5e0ed4fa0a68fde14782f68c7461b8b95176515b.zip
FreeBSD-src-5e0ed4fa0a68fde14782f68c7461b8b95176515b.tar.gz
MFC r283801,r290846,r290851,r290856,r290860:
r283801 (by araujo): Fix warning of implicit declaration of function 'mkdir'. Differential Revision: D2662 Reviewed by: rodrigc, ngie r290846: Bump WARNS to 2 Sponsored by: EMC / Isilon Storage Division r290851: Change WARNS to 2 across the board with all the libc testcases This effectively "reverts" r290846 Sponsored by: EMC / Isilon Storage Division r290856 (by bapt): also skip the definition of ':fopen_regular' to avoid the build to fail due to unused variables defined by ATF macros r290860 (by bapt): Remove unused variables to fix building world
Diffstat (limited to 'lib/libc/tests/stdio/perror_test.c')
-rw-r--r--lib/libc/tests/stdio/perror_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/tests/stdio/perror_test.c b/lib/libc/tests/stdio/perror_test.c
index a58121c..989f1ff 100644
--- a/lib/libc/tests/stdio/perror_test.c
+++ b/lib/libc/tests/stdio/perror_test.c
@@ -48,7 +48,7 @@ static char tmpfil[PATH_MAX];
ATF_TC_WITHOUT_HEAD(perror_test);
ATF_TC_BODY(perror_test, tc)
{
- char buf[512], lbuf[512];
+ char lbuf[512];
int i;
char *s;
OpenPOWER on IntegriCloud