diff options
Diffstat (limited to 'apps/plugins/test_disk.c')
-rw-r--r-- | apps/plugins/test_disk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/test_disk.c b/apps/plugins/test_disk.c index 3292cfa930..edc1dfbddb 100644 --- a/apps/plugins/test_disk.c +++ b/apps/plugins/test_disk.c | |||
@@ -102,7 +102,7 @@ static bool test_fs(void) | |||
102 | rb->snprintf(text_buf, sizeof text_buf, "FS stress test: %dKB", (TEST_SIZE>>10)); | 102 | rb->snprintf(text_buf, sizeof text_buf, "FS stress test: %dKB", (TEST_SIZE>>10)); |
103 | log_lcd(text_buf, true); | 103 | log_lcd(text_buf, true); |
104 | 104 | ||
105 | fd = rb->creat(TEST_FILE, 0); | 105 | fd = rb->creat(TEST_FILE); |
106 | if (fd < 0) | 106 | if (fd < 0) |
107 | { | 107 | { |
108 | rb->splash(0, true, "Couldn't create testfile."); | 108 | rb->splash(0, true, "Couldn't create testfile."); |
@@ -193,7 +193,7 @@ static bool test_speed(void) | |||
193 | log_init(); | 193 | log_init(); |
194 | log_lcd("Disk speed test", true); | 194 | log_lcd("Disk speed test", true); |
195 | 195 | ||
196 | fd = rb->creat(TEST_FILE, 0); | 196 | fd = rb->creat(TEST_FILE); |
197 | if (fd < 0) | 197 | if (fd < 0) |
198 | { | 198 | { |
199 | rb->splash(0, true, "Couldn't create testfile."); | 199 | rb->splash(0, true, "Couldn't create testfile."); |