aboutsummaryrefslogtreecommitdiffstats
path: root/src/CommandLine.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/CommandLine.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/CommandLine.cxx')
-rw-r--r--src/CommandLine.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CommandLine.cxx b/src/CommandLine.cxx
index 9fb388751..ad5a20441 100644
--- a/src/CommandLine.cxx
+++ b/src/CommandLine.cxx
@@ -30,11 +30,11 @@
#include "InputPlugin.hxx"
#include "PlaylistRegistry.hxx"
#include "PlaylistPlugin.hxx"
-#include "mpd_error.h"
#include "fs/Path.hxx"
#include "fs/FileSystem.hxx"
#include "util/Error.hxx"
#include "util/Domain.hxx"
+#include "system/FatalError.hxx"
#ifdef ENABLE_ENCODER
#include "EncoderList.hxx"
@@ -185,7 +185,7 @@ parse_cmdline(int argc, char **argv, struct options *options,
g_option_context_free(context);
if (!ret)
- MPD_ERROR("option parsing failed: %s\n", gerror->message);
+ FatalError("option parsing failed", gerror);
if (option_version)
version();