diff --git a/code/nel/tools/3d/mesh_export/main.cpp b/code/nel/tools/3d/mesh_export/main.cpp index 1503a4b16..81b850a23 100644 --- a/code/nel/tools/3d/mesh_export/main.cpp +++ b/code/nel/tools/3d/mesh_export/main.cpp @@ -46,7 +46,7 @@ int main(int argc, char *argv[]) if (!NLMISC::CFile::fileExists(filePath)) { printHelp(args); - nlerror("File '%s' does not exist", filePath); + nlerror("File '%s' does not exist", filePath.c_str()); return EXIT_FAILURE; }