summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/time/tst-futimens1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/time/tst-futimens1.c b/test/time/tst-futimens1.c
index ed7f44feb..2c25bd4de 100644
--- a/test/time/tst-futimens1.c
+++ b/test/time/tst-futimens1.c
@@ -46,7 +46,7 @@ int do_test(int argc, char **argv) {
name = tests[i].name;
if (*name != '.')
unlink(name);
- fd = open(name, tests[i].flags);
+ fd = open(name, tests[i].flags, 0660);
if (fd < 0)
abort();
errno = 0;