summaryrefslogtreecommitdiffstats
path: root/tests/bugs/fuse/bug-1126048.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/fuse/bug-1126048.c')
-rw-r--r--tests/bugs/fuse/bug-1126048.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bugs/fuse/bug-1126048.c b/tests/bugs/fuse/bug-1126048.c
index 5b9afafef0f..60329955258 100644
--- a/tests/bugs/fuse/bug-1126048.c
+++ b/tests/bugs/fuse/bug-1126048.c
@@ -19,7 +19,7 @@ main (int argc, char **argv)
char *cmd = argv[1];
printf ("cmd is: %s\n", cmd);
- fd = open("a.txt", O_CREAT|O_RDWR);
+ fd = open("a.txt", O_CREAT|O_RDWR, 0644);
if (fd < 0)
printf ("open failed: %s\n", strerror(errno));