diff options
author | deva <deva> | 2009-12-18 08:45:12 +0000 |
---|---|---|
committer | deva <deva> | 2009-12-18 08:45:12 +0000 |
commit | 2f0bf2d0af5b9b749e6e195829fb7093fc8ab930 (patch) | |
tree | 37374c59ad77b30477929bf89689ac3c1645f792 /server/src/log.cc | |
parent | 817072bf0ae27484394a77a016cfe07b35885b8a (diff) |
Fix compiler warnings "format not a string literal and no format arguments". Actually exposed a bug in luaresume.cc
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()); } |