summaryrefslogtreecommitdiffstats
path: root/tests/bugs/nfs/bug-1210338.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/nfs/bug-1210338.c')
-rw-r--r--tests/bugs/nfs/bug-1210338.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bugs/nfs/bug-1210338.c b/tests/bugs/nfs/bug-1210338.c
index 77f56eb9d0b..7a17b9d68ce 100644
--- a/tests/bugs/nfs/bug-1210338.c
+++ b/tests/bugs/nfs/bug-1210338.c
@@ -14,7 +14,7 @@ main (int argc, char *argv[])
int ret = -1;
int fd = -1;
- fd = open (argv[1], O_CREAT|O_EXCL);
+ fd = open (argv[1], O_CREAT|O_EXCL, 0644);
if (fd == -1) {
fprintf (stderr, "creation of the file %s failed (%s)\n", argv[1],