summaryrefslogtreecommitdiff
path: root/src/system
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-05-22 18:38:25 +0200
committerMax Kellermann <max@musicpd.org>2019-05-23 12:17:59 +0200
commite0d5d8810452265fe2e4d95eefb5585eb65f9ce5 (patch)
tree5405f3593158c9e425be4c7cbdd41b44ca78a0e8 /src/system
parent585a74548485787525bb8b9c921b97ccced2f957 (diff)
Log: make LogLevel the first parameter
Prepare for templated functions.
Diffstat (limited to 'src/system')
-rw-r--r--src/system/FatalError.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system/FatalError.cxx b/src/system/FatalError.cxx
index b846dc830..dc056ca3c 100644
--- a/src/system/FatalError.cxx
+++ b/src/system/FatalError.cxx
@@ -54,7 +54,7 @@ FormatFatalError(const char *fmt, ...)
{
va_list ap;
va_start(ap, fmt);
- LogFormatV(fatal_error_domain, LogLevel::ERROR, fmt, ap);
+ LogFormatV(LogLevel::ERROR, fatal_error_domain, fmt, ap);
va_end(ap);
Abort();