diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2001-05-21 09:03:38 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2001-05-21 09:03:38 +0000 |
commit | b62456f42fc0ae96c6adb4df502574c370b40ed3 (patch) | |
tree | 9dee63a0a855e0dc68f47a87e5f64e133438ae31 /winsup/testsuite/winsup.api/mmaptest02.c | |
parent | 60be3f0066c8b884879981d053ffef40a2a93865 (diff) | |
download | cygnal-b62456f42fc0ae96c6adb4df502574c370b40ed3.tar.gz cygnal-b62456f42fc0ae96c6adb4df502574c370b40ed3.tar.bz2 cygnal-b62456f42fc0ae96c6adb4df502574c370b40ed3.zip |
* winsup.api/mmaptest01.c: Add log output.
* winsup.api/mmaptest02.c: Write log output to stdout.
* winsup.api/mmaptest03.c: Ditto.
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 3e7b92997..ec5bac7f7 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); } |