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/UpdateGlue.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/UpdateGlue.cxx') diff --git a/src/UpdateGlue.cxx b/src/UpdateGlue.cxx index 5c63efcda..08ba9783f 100644 --- a/src/UpdateGlue.cxx +++ b/src/UpdateGlue.cxx @@ -33,7 +33,7 @@ extern "C" { #include "Main.hxx" #include "Instance.hxx" -#include "mpd_error.h" +#include "FatalError.hxx" #include @@ -110,7 +110,7 @@ spawn_update_task(const char *path) GError *e = NULL; update_thr = g_thread_create(update_task, g_strdup(path), TRUE, &e); if (update_thr == NULL) - MPD_ERROR("Failed to spawn update task: %s", e->message); + FatalError("Failed to spawn update task", e); #endif if (++update_task_id > update_task_id_max) -- cgit v1.2.3