about summary refs log tree commit diff
path: root/posix
diff options
context:
space:
mode:
Diffstat (limited to 'posix')
-rw-r--r--posix/tst-mmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/posix/tst-mmap.c b/posix/tst-mmap.c
index 0332828723..7a57366903 100644
--- a/posix/tst-mmap.c
+++ b/posix/tst-mmap.c
@@ -36,6 +36,7 @@ main (void)
 	printf ("`fwrite' failed: %m\n");
 	return 1;
       }
+  fflush (fp);
   assert (ps + 1000 < c * sizeof (buf));
 
   /* First try something which is not allowed: map at an offset which is