about summary refs log tree commit diff
path: root/libio/tst-mmap-eofsync.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/tst-mmap-eofsync.c')
-rw-r--r--libio/tst-mmap-eofsync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/tst-mmap-eofsync.c b/libio/tst-mmap-eofsync.c
index 73748369ad..e8ef727148 100644
--- a/libio/tst-mmap-eofsync.c
+++ b/libio/tst-mmap-eofsync.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);