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 396e03c818..c83fb7e1d2 100644 --- a/apps/plugins/test_disk.c +++ b/apps/plugins/test_disk.c | |||
@@ -85,7 +85,7 @@ static bool log_init(void) | |||
85 | 85 | ||
86 | rb->create_numbered_filename(logfilename, "/", "test_disk_log_", ".txt", | 86 | rb->create_numbered_filename(logfilename, "/", "test_disk_log_", ".txt", |
87 | 2 IF_CNFN_NUM_(, NULL)); | 87 | 2 IF_CNFN_NUM_(, NULL)); |
88 | log_fd = rb->open(logfilename, O_RDWR|O_CREAT|O_TRUNC); | 88 | log_fd = rb->open(logfilename, O_RDWR|O_CREAT|O_TRUNC, 0666); |
89 | return log_fd >= 0; | 89 | return log_fd >= 0; |
90 | } | 90 | } |
91 | 91 | ||