summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/playlist.c5
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;
}