diff options
Diffstat (limited to 'src/OutputThread.cxx')
-rw-r--r-- | src/OutputThread.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
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 <glib.h> @@ -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 } |