summaryrefslogtreecommitdiffstats
path: root/apps/plugins/test_gfx.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/test_gfx.c')
-rw-r--r--apps/plugins/test_gfx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/test_gfx.c b/apps/plugins/test_gfx.c
index 728eb5600e..0a2e02e43f 100644
--- a/apps/plugins/test_gfx.c
+++ b/apps/plugins/test_gfx.c
@@ -47,7 +47,7 @@ static int log_init(void)
rb->create_numbered_filename(logfilename, "/", "test_gfx_log_", ".txt",
2 IF_CNFN_NUM_(, NULL));
- fd = rb->open(logfilename, O_RDWR|O_CREAT|O_TRUNC);
+ fd = rb->open(logfilename, O_RDWR|O_CREAT|O_TRUNC, 0666);
return fd;
}