Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2001-05-21 13:03:38 +0400
committerCorinna Vinschen <corinna@vinschen.de>2001-05-21 13:03:38 +0400
commitb62456f42fc0ae96c6adb4df502574c370b40ed3 (patch)
tree9dee63a0a855e0dc68f47a87e5f64e133438ae31 /winsup/testsuite/winsup.api/mmaptest02.c
parent60be3f0066c8b884879981d053ffef40a2a93865 (diff)
* 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.c4
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);
}