aboutsummaryrefslogtreecommitdiffstats
path: root/test/read_tags.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/read_tags.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/read_tags.cxx b/test/read_tags.cxx
index d7f2f38d9..b4e5b2bb0 100644
--- a/test/read_tags.cxx
+++ b/test/read_tags.cxx
@@ -28,6 +28,7 @@
#include "tag/TagId3.hxx"
#include "tag/ApeTag.hxx"
#include "util/Error.hxx"
+#include "Log.hxx"
#include <glib.h>
@@ -167,7 +168,7 @@ int main(int argc, char **argv)
Error error;
if (!input_stream_global_init(error)) {
- g_warning("%s", error.GetMessage());
+ LogError(error);
return 2;
}