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/fs/Path.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/fs') diff --git a/src/fs/Path.cxx b/src/fs/Path.cxx index 71e71a78b..7de19a582 100644 --- a/src/fs/Path.cxx +++ b/src/fs/Path.cxx @@ -20,7 +20,7 @@ #include "config.h" #include "fs/Path.hxx" #include "ConfigGlobal.hxx" -#include "mpd_error.h" +#include "system/FatalError.hxx" #include "gcc.h" #include @@ -105,7 +105,7 @@ SetFSCharset(const char *charset) assert(charset != NULL); if (!IsSupportedCharset(charset)) - MPD_ERROR("invalid filesystem charset: %s", charset); + FormatFatalError("invalid filesystem charset: %s", charset); fs_charset = charset; -- cgit v1.2.3