diff options
author | Dan Everton <dan@iocaine.org> | 2006-03-28 17:11:59 +0000 |
---|---|---|
committer | Dan Everton <dan@iocaine.org> | 2006-03-28 17:11:59 +0000 |
commit | 81a14b8837eba9b846ee9df47e497b07663dac3c (patch) | |
tree | 73a8d8dd6676f0683edd83d76e775056266c553b /apps/plugins | |
parent | 6246242155105526602096d94753aec8d43453c9 (diff) |
Fix red builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9318 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/splitedit.c | 4 |
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( bytes_written = rb->write(dest, buffer, bytes_read); if (bytes_written < 0) { - rb->splash(0, true, "Write failed in copy. Error %d", errno); + rb->splash(0, true, "Write failed in copy."); rb->button_get(true); rb->button_get(true); return -1; @@ -722,7 +722,7 @@ static int save( if (file2 >= 0) { end = mp3->filesize - end; - copy_file(file2, src_file, end, y * 5 + 1, y -1); + int rc = copy_file(file2, src_file, end, y * 5 + 1, y -1); close_stat = rb->close(file2); if (close_stat != 0) |