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 2c90d56..4ac130d 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);