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/Log.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Log.cxx') diff --git a/src/Log.cxx b/src/Log.cxx index 721e59862..869327d25 100644 --- a/src/Log.cxx +++ b/src/Log.cxx @@ -26,9 +26,9 @@ #include "system/FatalError.hxx" #include "fs/Path.hxx" #include "fs/FileSystem.hxx" -#include "mpd_error.h" #include "util/Error.hxx" #include "util/Domain.hxx" +#include "system/FatalError.hxx" #include #include @@ -230,8 +230,8 @@ parse_log_level(const char *value, unsigned line) else if (0 == strcmp(value, "verbose")) return G_LOG_LEVEL_DEBUG; else { - MPD_ERROR("unknown log level \"%s\" at line %u\n", - value, line); + FormatFatalError("unknown log level \"%s\" at line %u", + value, line); return G_LOG_LEVEL_MESSAGE; } } -- cgit v1.2.3