Testsuite: sys_errlist[] not supported on all platforms
authorJeremy Harris <jgh146exb@wizmail.org>
Sat, 4 Mar 2017 18:19:24 +0000 (18:19 +0000)
committerJeremy Harris <jgh146exb@wizmail.org>
Sat, 4 Mar 2017 18:19:24 +0000 (18:19 +0000)
test/src/client.c

index 2c90d565c1818ae91154c0c4a45ceca672b5070b..4ac130df2d890ea29c6038e0ff0085ec135c412a 100644 (file)
@@ -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);