aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs/Path.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/Path.cxx')
-rw-r--r--src/fs/Path.cxx4
1 files changed, 2 insertions, 2 deletions
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 <glib.h>
@@ -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;