diff options
| author | Hardeep Sidhu <dyp@pobox.com> | 2004-08-02 05:11:20 +0000 |
|---|---|---|
| committer | Hardeep Sidhu <dyp@pobox.com> | 2004-08-02 05:11:20 +0000 |
| commit | 586ec8274dbe487f3c5567d067965b17e5e228cd (patch) | |
| tree | b0e8d76720d285f3faea6d940daa26c669399bc5 /apps | |
| parent | 839067b7b306e2da5142c3f31747205df8f9e4f5 (diff) | |
| download | rockbox-586ec8274dbe487f3c5567d067965b17e5e228cd.zip rockbox-586ec8274dbe487f3c5567d067965b17e5e228cd.tar.gz rockbox-586ec8274dbe487f3c5567d067965b17e5e228cd.tar.bz2 rockbox-586ec8274dbe487f3c5567d067965b17e5e228cd.tar.xz | |
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.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/playlist.c b/apps/playlist.c index e3dc626..f702c1a 100644 --- a/apps/playlist.c +++ b/apps/playlist.c @@ -246,7 +246,10 @@ static void create_control(struct playlist_info* playlist) { playlist->control_fd = creat(playlist->control_filename, 0000200); if (playlist->control_fd < 0) - splash(HZ*2, true, str(LANG_PLAYLIST_CONTROL_ACCESS_ERROR)); + { + splash(HZ*2, true, "%s (%d)", str(LANG_PLAYLIST_CONTROL_ACCESS_ERROR), + playlist->control_fd); + } playlist->control_created = true; } |