From 7a4c9f5f4c38b568a51ec13988f5fcfbbe278afa Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 5 Sep 2013 18:20:52 +0200 Subject: mpd_error.h: remove obsolete header Migrate the remaining callers to FatalError(). --- src/output/ShoutOutputPlugin.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/output/ShoutOutputPlugin.cxx') 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 #include @@ -102,8 +102,8 @@ require_block_string(const config_param ¶m, 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; } -- cgit v1.2.3