X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=regtest.c;h=5d3f6c8b40dcf5d667e544561f93a72bdc162de5;hb=refs%2Ftags%2Fdebian%2F5.1-8;hp=e4b5123fe3945907761a8c201039b5aaca1a3618;hpb=d946a30d5eabd2dd3b5574fc818bb1740e5827bf;p=debian%2Fgcpegg diff --git a/regtest.c b/regtest.c index e4b5123..5d3f6c8 100644 --- a/regtest.c +++ b/regtest.c @@ -49,7 +49,7 @@ int main(int argc, char *argv[]) { } if ((TTY_fd = open(argv[1], O_RDWR | O_NDELAY)) < 0) { - fprintf(stderr, "%s: %s\n", argv[1], sys_errlist[errno]); + fprintf(stderr, "%s: %s\n", argv[1], strerror(errno)); exit(1); }