aboutsummaryrefslogtreecommitdiff
path: root/stdlib/test-canon.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/test-canon.c')
-rw-r--r--stdlib/test-canon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/test-canon.c b/stdlib/test-canon.c
index 51b0af1..51ac60d 100644
--- a/stdlib/test-canon.c
+++ b/stdlib/test-canon.c
@@ -165,7 +165,7 @@ do_test (int argc, char ** argv)
int has_dir = mkdir ("doesExist", 0777) == 0;
- int fd = has_dir ? creat ("doesExist/someFile", 0777) : -1;
+ int fd = has_dir ? creat ("doesExist/someFile", 0666) : -1;
for (i = 0; i < (int) (sizeof (tests) / sizeof (tests[0])); ++i)
{