diff options
Diffstat (limited to 'winsup/testsuite/winsup.api/mmaptest02.c')
-rw-r--r-- | winsup/testsuite/winsup.api/mmaptest02.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/testsuite/winsup.api/mmaptest02.c b/winsup/testsuite/winsup.api/mmaptest02.c index 3e7b929..ec5bac7 100644 --- a/winsup/testsuite/winsup.api/mmaptest02.c +++ b/winsup/testsuite/winsup.api/mmaptest02.c @@ -29,7 +29,7 @@ int fd; void perror_exit (char *str, int code) { - perror (str); + printf ("%s: %s\n", str, strerror (errno)); exit (code); } @@ -149,7 +149,7 @@ test_3 () } if (y == 0) { - fputs ("test 3: couldn't get two consecutive pages, giving up\n", stderr); + fputs ("test 3: couldn't get two consecutive pages, giving up\n", stdout); exit (65); } |