summaryrefslogtreecommitdiff
path: root/src/Log.cxx
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/Log.cxx
parent3330aa6f6a7fcd903f74cb8342f315ad35b54ead (diff)
mpd_error.h: remove obsolete header
Migrate the remaining callers to FatalError().
Diffstat (limited to 'src/Log.cxx')
-rw-r--r--src/Log.cxx6
1 files changed, 3 insertions, 3 deletions
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 <assert.h>
#include <sys/types.h>
@@ -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;
}
}