summaryrefslogtreecommitdiff
path: root/apps/plugins/test_codec.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/test_codec.c')
-rw-r--r--apps/plugins/test_codec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c
index f3b826e04e..1ecf225529 100644
--- a/apps/plugins/test_codec.c
+++ b/apps/plugins/test_codec.c
@@ -59,7 +59,7 @@ static bool log_init(bool use_logfile)
59 if (use_logfile) { 59 if (use_logfile) {
60 rb->create_numbered_filename(logfilename, "/", "test_codec_log_", ".txt", 60 rb->create_numbered_filename(logfilename, "/", "test_codec_log_", ".txt",
61 2 IF_CNFN_NUM_(, NULL)); 61 2 IF_CNFN_NUM_(, NULL));
62 log_fd = rb->open(logfilename, O_RDWR|O_CREAT|O_TRUNC); 62 log_fd = rb->open(logfilename, O_RDWR|O_CREAT|O_TRUNC, 0666);
63 return log_fd >= 0; 63 return log_fd >= 0;
64 } 64 }
65 65