From 13645c5e1a819cebbda3e8021ad12884f2681ce5 Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Fri, 24 Jun 2011 01:03:51 +0200 Subject: fix printf Signed-off-by: Michael Olbrich --- common/Logging.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') diff --git a/common/Logging.cpp b/common/Logging.cpp index f6d3906..4ba3d7a 100644 --- a/common/Logging.cpp +++ b/common/Logging.cpp @@ -86,6 +86,6 @@ void Log::log(Logger::log_level_t level, const std::string & msg) void StdoutLogger::_log(const char * msg) { - printf(msg); + printf("%s", msg); } -- cgit v1.2.3