aboutsummaryrefslogtreecommitdiffstats
path: root/src/DecoderThread.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-08-07 09:35:30 +0200
committerMax Kellermann <max@duempel.org>2013-08-07 10:08:36 +0200
commita27d105dcd1376c1df4ff16e388dfcfa3b355cc6 (patch)
tree6903bc549cc57250bea724bf800a3f7e6812841e /src/DecoderThread.cxx
parent67e44b0f2c76a8c4913048fe3b8fe90116fa595b (diff)
downloadmpd-a27d105dcd1376c1df4ff16e388dfcfa3b355cc6.tar.gz
mpd-a27d105dcd1376c1df4ff16e388dfcfa3b355cc6.tar.xz
mpd-a27d105dcd1376c1df4ff16e388dfcfa3b355cc6.zip
FatalError: new library to replace mpd_error.h
Diffstat (limited to 'src/DecoderThread.cxx')
-rw-r--r--src/DecoderThread.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DecoderThread.cxx b/src/DecoderThread.cxx
index 3ebd5653e..61c1fdd8a 100644
--- a/src/DecoderThread.cxx
+++ b/src/DecoderThread.cxx
@@ -24,7 +24,7 @@
#include "DecoderError.hxx"
#include "DecoderPlugin.hxx"
#include "Song.hxx"
-#include "mpd_error.h"
+#include "FatalError.hxx"
#include "Mapper.hxx"
#include "fs/Path.hxx"
#include "DecoderAPI.hxx"
@@ -501,6 +501,6 @@ decoder_thread_start(struct decoder_control *dc)
GError *e = NULL;
dc->thread = g_thread_create(decoder_task, dc, true, &e);
if (dc->thread == NULL)
- MPD_ERROR("Failed to spawn decoder task: %s", e->message);
+ FatalError("Failed to spawn decoder task", e);
#endif
}