diff options
author | deva <deva> | 2010-02-12 13:53:00 +0000 |
---|---|---|
committer | deva <deva> | 2010-02-12 13:53:00 +0000 |
commit | c44cc1989fe1b4cd94c115fb9a62b73afc46e62f (patch) | |
tree | 880523c9e8be8c4c43498faf5c3fe8bdb1798cda /server/src/log.cc | |
parent | 305ddf3bdb16177420f480b006550508174a734e (diff) |
Fix compiler warnings.
Diffstat (limited to 'server/src/log.cc')
-rw-r--r-- | server/src/log.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/log.cc b/server/src/log.cc index 92a77f6..fe72422 100644 --- a/server/src/log.cc +++ b/server/src/log.cc @@ -39,5 +39,5 @@ void log(std::string message) { syslog(LOG_CONS, // Write to console if error sending to system logger. - message.c_str()); + "%s", message.c_str()); } |