diff options
Diffstat (limited to 'posix')
-rw-r--r-- | posix/tst-mmap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/posix/tst-mmap.c b/posix/tst-mmap.c index 0332828..7a57366 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 |