about summary refs log tree commit diff
path: root/libio/tst-mmap-fflushsync.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/tst-mmap-fflushsync.c')
-rw-r--r--libio/tst-mmap-fflushsync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/tst-mmap-fflushsync.c b/libio/tst-mmap-fflushsync.c
index a4580e980b..24ae33cae7 100644
--- a/libio/tst-mmap-fflushsync.c
+++ b/libio/tst-mmap-fflushsync.c
@@ -38,7 +38,7 @@ do_test (void)
   int result = 0;
   int c;
 
-  f = fopen (temp_file, "r");
+  f = fopen (temp_file, "rm");
   if (f == NULL)
     {
       perror (temp_file);