diff options
Diffstat (limited to 'apps/plugins/test_codec.c')
| -rw-r--r-- | apps/plugins/test_codec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c index f3b826e..1ecf225 100644 --- a/apps/plugins/test_codec.c +++ b/apps/plugins/test_codec.c @@ -59,7 +59,7 @@ static bool log_init(bool use_logfile) if (use_logfile) { rb->create_numbered_filename(logfilename, "/", "test_codec_log_", ".txt", 2 IF_CNFN_NUM_(, NULL)); - log_fd = rb->open(logfilename, O_RDWR|O_CREAT|O_TRUNC); + log_fd = rb->open(logfilename, O_RDWR|O_CREAT|O_TRUNC, 0666); return log_fd >= 0; } |