summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/KM_log.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/KM_log.cpp b/src/KM_log.cpp
index 985d210..43f767a 100755
--- a/src/KM_log.cpp
+++ b/src/KM_log.cpp
@@ -170,7 +170,7 @@ int const SYSLOG_DEBUG = LOG_DEBUG;
Kumu::SyslogLogSink::SyslogLogSink(const std::string& source_name, int facility)
{
if ( facility == 0 )
- facility == LOG_DAEMON;
+ facility = LOG_DAEMON;
openlog(source_name.c_str(), LOG_CONS|LOG_NDELAY||LOG_PID, facility);
}