diff options
Diffstat (limited to 'apps/plugins/test_disk.c')
| -rw-r--r-- | apps/plugins/test_disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/test_disk.c b/apps/plugins/test_disk.c index 396e03c..c83fb7e 100644 --- a/apps/plugins/test_disk.c +++ b/apps/plugins/test_disk.c @@ -85,7 +85,7 @@ static bool log_init(void) rb->create_numbered_filename(logfilename, "/", "test_disk_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; } |