aboutsummaryrefslogtreecommitdiffstats
path: root/src/output
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-09-05 18:20:52 +0200
committerMax Kellermann <max@duempel.org>2013-09-05 18:26:46 +0200
commit7a4c9f5f4c38b568a51ec13988f5fcfbbe278afa (patch)
tree03c6b14d6d54f4657aa5939982aec7f942e47c46 /src/output
parent3330aa6f6a7fcd903f74cb8342f315ad35b54ead (diff)
downloadmpd-7a4c9f5f4c38b568a51ec13988f5fcfbbe278afa.tar.gz
mpd-7a4c9f5f4c38b568a51ec13988f5fcfbbe278afa.tar.xz
mpd-7a4c9f5f4c38b568a51ec13988f5fcfbbe278afa.zip
mpd_error.h: remove obsolete header
Migrate the remaining callers to FatalError().
Diffstat (limited to 'src/output')
-rw-r--r--src/output/ShoutOutputPlugin.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/output/ShoutOutputPlugin.cxx b/src/output/ShoutOutputPlugin.cxx
index 82b61f7c8..fe271141f 100644
--- a/src/output/ShoutOutputPlugin.cxx
+++ b/src/output/ShoutOutputPlugin.cxx
@@ -25,7 +25,7 @@
#include "ConfigError.hxx"
#include "util/Error.hxx"
#include "util/Domain.hxx"
-#include "mpd_error.h"
+#include "system/FatalError.hxx"
#include <shout/shout.h>
#include <glib.h>
@@ -102,8 +102,8 @@ require_block_string(const config_param &param, const char *name)
{
const char *value = param.GetBlockValue(name);
if (value == nullptr)
- MPD_ERROR("no \"%s\" defined for shout device defined at line " \
- "%i\n", name, param.line);
+ FormatFatalError("no \"%s\" defined for shout device defined "
+ "at line %u\n", name, param.line);
return value;
}