From a27d105dcd1376c1df4ff16e388dfcfa3b355cc6 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 7 Aug 2013 09:35:30 +0200 Subject: FatalError: new library to replace mpd_error.h --- src/PlayerThread.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/PlayerThread.cxx') diff --git a/src/PlayerThread.cxx b/src/PlayerThread.cxx index a2dcb2c46..948ad9b90 100644 --- a/src/PlayerThread.cxx +++ b/src/PlayerThread.cxx @@ -26,7 +26,7 @@ #include "MusicChunk.hxx" #include "Song.hxx" #include "Main.hxx" -#include "mpd_error.h" +#include "FatalError.hxx" #include "CrossFade.hxx" #include "PlayerControl.hxx" #include "OutputAll.hxx" @@ -1207,6 +1207,6 @@ player_create(struct player_control *pc) GError *e = NULL; pc->thread = g_thread_create(player_task, pc, true, &e); if (pc->thread == NULL) - MPD_ERROR("Failed to spawn player task: %s", e->message); + FatalError("Failed to spawn player task", e); #endif } -- cgit v1.2.3