summaryrefslogtreecommitdiffstats
path: root/src/Log.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Log.h')
-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; };