diff options
Diffstat (limited to 'apps/plugins/random_folder_advance_config.c')
-rw-r--r-- | apps/plugins/random_folder_advance_config.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/plugins/random_folder_advance_config.c b/apps/plugins/random_folder_advance_config.c index c03a794e73..3df38082ba 100644 --- a/apps/plugins/random_folder_advance_config.c +++ b/apps/plugins/random_folder_advance_config.c | |||
@@ -219,7 +219,7 @@ void generate(void) | |||
219 | rb->write(fd,&dirs_count,sizeof(int)); | 219 | rb->write(fd,&dirs_count,sizeof(int)); |
220 | if (fd < 0) | 220 | if (fd < 0) |
221 | { | 221 | { |
222 | rb->splash(HZ, "Couldnt open %s", RFA_FILE); | 222 | rb->splashf(HZ, "Couldnt open %s", RFA_FILE); |
223 | return; | 223 | return; |
224 | } | 224 | } |
225 | #ifndef HAVE_LCD_CHARCELLS | 225 | #ifndef HAVE_LCD_CHARCELLS |
@@ -295,7 +295,7 @@ int edit_list(void) | |||
295 | /* load the dat file if not already done */ | 295 | /* load the dat file if not already done */ |
296 | if ((list == NULL || list->count == 0) && (i = load_list()) != 0) | 296 | if ((list == NULL || list->count == 0) && (i = load_list()) != 0) |
297 | { | 297 | { |
298 | rb->splash(HZ*2, "Could not load %s, rv = %d", RFA_FILE, i); | 298 | rb->splashf(HZ*2, "Could not load %s, rv = %d", RFA_FILE, i); |
299 | return -1; | 299 | return -1; |
300 | } | 300 | } |
301 | 301 | ||
@@ -387,13 +387,13 @@ int export_list_to_file_text(void) | |||
387 | /* load the dat file if not already done */ | 387 | /* load the dat file if not already done */ |
388 | if ((list == NULL || list->count == 0) && (i = load_list()) != 0) | 388 | if ((list == NULL || list->count == 0) && (i = load_list()) != 0) |
389 | { | 389 | { |
390 | rb->splash(HZ*2, "Could not load %s, rv = %d", RFA_FILE, i); | 390 | rb->splashf(HZ*2, "Could not load %s, rv = %d", RFA_FILE, i); |
391 | return 0; | 391 | return 0; |
392 | } | 392 | } |
393 | 393 | ||
394 | if (list->count <= 0) | 394 | if (list->count <= 0) |
395 | { | 395 | { |
396 | rb->splash(HZ*2, "no dirs in list file: %s", RFA_FILE); | 396 | rb->splashf(HZ*2, "no dirs in list file: %s", RFA_FILE); |
397 | return 0; | 397 | return 0; |
398 | } | 398 | } |
399 | 399 | ||
@@ -401,7 +401,7 @@ int export_list_to_file_text(void) | |||
401 | int myfd = rb->creat(RFA_FILE_TEXT); | 401 | int myfd = rb->creat(RFA_FILE_TEXT); |
402 | if (myfd < 0) | 402 | if (myfd < 0) |
403 | { | 403 | { |
404 | rb->splash(HZ*4, "failed to open: fd = %d, file = %s", | 404 | rb->splashf(HZ*4, "failed to open: fd = %d, file = %s", |
405 | myfd, RFA_FILE_TEXT); | 405 | myfd, RFA_FILE_TEXT); |
406 | return -1; | 406 | return -1; |
407 | } | 407 | } |
@@ -434,7 +434,7 @@ int import_list_from_file_text(void) | |||
434 | int myfd = rb->open(RFA_FILE_TEXT, O_RDONLY); | 434 | int myfd = rb->open(RFA_FILE_TEXT, O_RDONLY); |
435 | if (myfd < 0) | 435 | if (myfd < 0) |
436 | { | 436 | { |
437 | rb->splash(HZ*2, "failed to open: %s", RFA_FILE_TEXT); | 437 | rb->splashf(HZ*2, "failed to open: %s", RFA_FILE_TEXT); |
438 | return -1; | 438 | return -1; |
439 | } | 439 | } |
440 | 440 | ||