summaryrefslogtreecommitdiff
path: root/apps/plugins/test_grey.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/test_grey.c')
-rw-r--r--apps/plugins/test_grey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/test_grey.c b/apps/plugins/test_grey.c
index c2adaf0..be28bed 100644
--- a/apps/plugins/test_grey.c
+++ b/apps/plugins/test_grey.c
@@ -237,7 +237,7 @@ enum plugin_status plugin_start(const void* parameter)
case GREY_OK:
rb->create_numbered_filename(filename, "/", "test_grey_",
".txt", 2 IF_CNFN_NUM_(, NULL));
- fd = rb->open(filename, O_RDWR|O_CREAT|O_TRUNC);
+ fd = rb->open(filename, O_RDWR|O_CREAT|O_TRUNC, 0666);
if (fd >= 0)
{
for (i = 0; i <= STEPS; i++)