summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorHardeep Sidhu <dyp@pobox.com>2004-08-02 05:11:20 +0000
committerHardeep Sidhu <dyp@pobox.com>2004-08-02 05:11:20 +0000
commit586ec8274dbe487f3c5567d067965b17e5e228cd (patch)
treeb0e8d76720d285f3faea6d940daa26c669399bc5 /apps
parent839067b7b306e2da5142c3f31747205df8f9e4f5 (diff)
downloadrockbox-586ec8274dbe487f3c5567d067965b17e5e228cd.tar.gz
rockbox-586ec8274dbe487f3c5567d067965b17e5e228cd.zip
Added extra error reporting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4981 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/playlist.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/playlist.c b/apps/playlist.c
index e3dc62625a..f702c1ad9d 100644
--- a/apps/playlist.c
+++ b/apps/playlist.c
@@ -246,7 +246,10 @@ static void create_control(struct playlist_info* playlist)
246{ 246{
247 playlist->control_fd = creat(playlist->control_filename, 0000200); 247 playlist->control_fd = creat(playlist->control_filename, 0000200);
248 if (playlist->control_fd < 0) 248 if (playlist->control_fd < 0)
249 splash(HZ*2, true, str(LANG_PLAYLIST_CONTROL_ACCESS_ERROR)); 249 {
250 splash(HZ*2, true, "%s (%d)", str(LANG_PLAYLIST_CONTROL_ACCESS_ERROR),
251 playlist->control_fd);
252 }
250 playlist->control_created = true; 253 playlist->control_created = true;
251} 254}
252 255