summaryrefslogtreecommitdiff
path: root/src/log.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2008-12-27 00:06:09 +0000
committerChristian Pointner <equinox@anytun.org>2008-12-27 00:06:09 +0000
commit9985e088f7a2b3644948786895d29d2d8f56c736 (patch)
treefb9b30426a0c1fb0f2d5b75a171a99df14e6aca4 /src/log.cpp
parenttypo in help (diff)
fixed some compiler warnings for ubuntu intrepid
Diffstat (limited to 'src/log.cpp')
-rw-r--r--src/log.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/log.cpp b/src/log.cpp
index 72c3d3c..272fc53 100644
--- a/src/log.cpp
+++ b/src/log.cpp
@@ -54,7 +54,7 @@ LogStringBuilder::~LogStringBuilder()
{
Lock lock(log.mutex);
#ifndef NOSYSLOG
- syslog(prio | log.getFacility(), stream.str().c_str());
+ syslog(prio | log.getFacility(), "%s", stream.str().c_str());
#endif
}