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/OutputThread.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/OutputThread.cxx') diff --git a/src/OutputThread.cxx b/src/OutputThread.cxx index 483d35680..081b89f35 100644 --- a/src/OutputThread.cxx +++ b/src/OutputThread.cxx @@ -29,8 +29,7 @@ #include "PlayerControl.hxx" #include "MusicPipe.hxx" #include "MusicChunk.hxx" - -#include "mpd_error.h" +#include "FatalError.hxx" #include "gcc.h" #include @@ -676,6 +675,6 @@ void audio_output_thread_start(struct audio_output *ao) #else GError *e = nullptr; if (!(ao->thread = g_thread_create(audio_output_task, ao, true, &e))) - MPD_ERROR("Failed to spawn output task: %s\n", e->message); + FatalError("Failed to spawn output task", e); #endif } -- cgit v1.2.3