diff options
-rw-r--r-- | src/resources/itemdb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/itemdb.cpp b/src/resources/itemdb.cpp index 96cf8aef..1f17865f 100644 --- a/src/resources/itemdb.cpp +++ b/src/resources/itemdb.cpp @@ -275,7 +275,7 @@ static void checkParameter(int id, const T param, const T errorValue) std::stringstream errMsg; errMsg << "ItemDB: Missing " << param << " attribute for item id " << id << "!"; - logger->log(errMsg.str().c_str()); + logger->log("%s", errMsg.str().c_str()); } } |