aboutsummaryrefslogtreecommitdiff
path: root/libio/tst-mmap2-eofsync.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/tst-mmap2-eofsync.c')
-rw-r--r--libio/tst-mmap2-eofsync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/tst-mmap2-eofsync.c b/libio/tst-mmap2-eofsync.c
index aefe472..60bad94 100644
--- a/libio/tst-mmap2-eofsync.c
+++ b/libio/tst-mmap2-eofsync.c
@@ -44,7 +44,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);