about summary refs log tree commit diff
path: root/libio/tst-mmap-offend.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/tst-mmap-offend.c')
-rw-r--r--libio/tst-mmap-offend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/tst-mmap-offend.c b/libio/tst-mmap-offend.c
index 2025f1d2a8..19732e6201 100644
--- a/libio/tst-mmap-offend.c
+++ b/libio/tst-mmap-offend.c
@@ -34,7 +34,7 @@ do_test (void)
 {
   unsigned char buffer[8192];
   int result = 0;
-  FILE *f = fopen (temp_file, "r");
+  FILE *f = fopen (temp_file, "rm");
   size_t cc;
 
   if (f == NULL)