From 768e8b5bdaa5565979268013fa1cba6800174d94 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sat, 4 Mar 2017 18:19:24 +0000 Subject: [PATCH] Testsuite: sys_errlist[] not supported on all platforms --- test/src/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/src/client.c b/test/src/client.c index 2c90d565c..4ac130df2 100644 --- a/test/src/client.c +++ b/test/src/client.c @@ -712,7 +712,7 @@ int rc; FILE * new_f; if (!(new_f = fopen(outbuffer+4 , "r"))) { - printf("Unable to open '%s': %s", inptr, sys_errlist[errno]); + printf("Unable to open '%s': %s", inptr, strerror(errno)); exit(74); } do_file(srv, new_f, timeout, inbuffer, bsiz, inptr); -- 2.25.1