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/Tag.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Tag.cxx') 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 #include @@ -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; -- cgit v1.2.3