diff --git a/code/nel/src/misc/common.cpp b/code/nel/src/misc/common.cpp index 3f39ab86a..1ae3f44fb 100644 --- a/code/nel/src/misc/common.cpp +++ b/code/nel/src/misc/common.cpp @@ -1535,7 +1535,7 @@ static bool openDocWithExtension (const std::string &document, const std::string if (command.empty()) { - nlwarning("Unable to open %s", document); + nlwarning("Unable to open %s", document.c_str()); return false; }