aboutsummaryrefslogtreecommitdiffstats
path: root/src/Tag.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Tag.cxx')
-rw-r--r--src/Tag.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Tag.cxx b/src/Tag.cxx
index 228db1a66..c960da537 100644
--- a/src/Tag.cxx
+++ b/src/Tag.cxx
@@ -24,7 +24,7 @@
#include "ConfigGlobal.hxx"
#include "ConfigOption.hxx"
#include "Song.hxx"
-#include "mpd_error.h"
+#include "system/FatalError.hxx"
#include <glib.h>
#include <assert.h>
@@ -119,8 +119,8 @@ void tag_lib_init(void)
type = tag_name_parse_i(c);
if (type == TAG_NUM_OF_ITEM_TYPES)
- MPD_ERROR("error parsing metadata item \"%s\"",
- c);
+ FormatFatalError("error parsing metadata item \"%s\"",
+ c);
ignore_tag_items[type] = false;