aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Log.h b/src/Log.h
index 1222686..885778f 100644
--- a/src/Log.h
+++ b/src/Log.h
@@ -77,7 +77,7 @@ class LogToSyslog : public LogBackend {
case emerg: syslog_level = LOG_EMERG; break;
}
- syslog(level, SYSLOG_IDENT " %s", message.c_str());
+ syslog(syslog_level, SYSLOG_IDENT " %s", message.c_str());
}
std::string get_name() { return name; };