aboutsummaryrefslogtreecommitdiffstats
path: root/src/Tag.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/Tag.cxx
parent3330aa6f6a7fcd903f74cb8342f315ad35b54ead (diff)
downloadmpd-7a4c9f5f4c38b568a51ec13988f5fcfbbe278afa.tar.gz
mpd-7a4c9f5f4c38b568a51ec13988f5fcfbbe278afa.tar.xz
mpd-7a4c9f5f4c38b568a51ec13988f5fcfbbe278afa.zip
mpd_error.h: remove obsolete header
Migrate the remaining callers to FatalError().
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;