summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Srb <michalsrb@gmail.com>2015-04-24 16:33:56 +0300
committerMichal Srb <michalsrb@gmail.com>2015-04-24 16:33:56 +0300
commit9d93fb4c5454b92a8fd031906dc9a13535393b8b (patch)
treed2e56b3db08c652f26cb3d790ae47b705d6dba1c
parentaf8c9fb9c2c5a5993d938c8547b9f82f1c2dda4e (diff)
downloadtigervnc-9d93fb4c5454b92a8fd031906dc9a13535393b8b.tar.gz
tigervnc-9d93fb4c5454b92a8fd031906dc9a13535393b8b.zip
Remove hardcoded "Xvnc" in syslog logger.
-rw-r--r--common/rfb/Logger_syslog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rfb/Logger_syslog.cxx b/common/rfb/Logger_syslog.cxx
index 3a52cb1c..291d36cd 100644
--- a/common/rfb/Logger_syslog.cxx
+++ b/common/rfb/Logger_syslog.cxx
@@ -33,7 +33,7 @@ using namespace rfb;
Logger_Syslog::Logger_Syslog(const char* loggerName)
: Logger(loggerName)
{
- openlog("Xvnc", LOG_CONS | LOG_PID, LOG_USER);
+ openlog(0, LOG_CONS | LOG_PID, LOG_USER);
}
Logger_Syslog::~Logger_Syslog()