summaryrefslogtreecommitdiff
path: root/apps/plugins/splitedit.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/splitedit.c')
-rw-r--r--apps/plugins/splitedit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/splitedit.c b/apps/plugins/splitedit.c
index de7e2380a9..927c00008d 100644
--- a/apps/plugins/splitedit.c
+++ b/apps/plugins/splitedit.c
@@ -585,7 +585,7 @@ static int copy_file(
585 bytes_written = rb->write(dest, buffer, bytes_read); 585 bytes_written = rb->write(dest, buffer, bytes_read);
586 586
587 if (bytes_written < 0) { 587 if (bytes_written < 0) {
588 rb->splash(0, true, "Write failed in copy. Error %d", errno); 588 rb->splash(0, true, "Write failed in copy.");
589 rb->button_get(true); 589 rb->button_get(true);
590 rb->button_get(true); 590 rb->button_get(true);
591 return -1; 591 return -1;
@@ -722,7 +722,7 @@ static int save(
722 if (file2 >= 0) 722 if (file2 >= 0)
723 { 723 {
724 end = mp3->filesize - end; 724 end = mp3->filesize - end;
725 copy_file(file2, src_file, end, y * 5 + 1, y -1); 725 int rc = copy_file(file2, src_file, end, y * 5 + 1, y -1);
726 close_stat = rb->close(file2); 726 close_stat = rb->close(file2);
727 727
728 if (close_stat != 0) 728 if (close_stat != 0)