aboutsummaryrefslogtreecommitdiff
path: root/winsup/testsuite/winsup.api/mmaptest01.c
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/testsuite/winsup.api/mmaptest01.c')
-rw-r--r--winsup/testsuite/winsup.api/mmaptest01.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/winsup/testsuite/winsup.api/mmaptest01.c b/winsup/testsuite/winsup.api/mmaptest01.c
index b400db7..5a14461 100644
--- a/winsup/testsuite/winsup.api/mmaptest01.c
+++ b/winsup/testsuite/winsup.api/mmaptest01.c
@@ -99,7 +99,10 @@ int main ()
/* the buffers have to be different */
if (buf1 == buf2 || !memcmp (buf1, buf2, 20))
- return 1;
+ {
+ printf ("buffers are not different!\n");
+ return 1;
+ }
return 0;
}