From 586ec8274dbe487f3c5567d067965b17e5e228cd Mon Sep 17 00:00:00 2001 From: Hardeep Sidhu Date: Mon, 2 Aug 2004 05:11:20 +0000 Subject: Added extra error reporting git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4981 a1c6a512-1295-4272-9138-f99709370657 --- apps/playlist.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'apps') 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) { 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; } -- cgit v1.2.3