Преглед изворни кода

loader: Add missing printf argument

Lioncash пре 11 година
родитељ
комит
0c4685ca12
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/core/loader/loader.cpp

+ 1 - 1
src/core/loader/loader.cpp

@@ -150,7 +150,7 @@ ResultStatus LoadFile(const std::string& filename) {
     // IdentifyFile could know identify file type...
     case FileType::Unknown:
     {
-        LOG_CRITICAL(Loader, "File %s is of unknown type.");
+        LOG_CRITICAL(Loader, "File %s is of unknown type.", filename.c_str());
         return ResultStatus::ErrorInvalidFormat;
     }
     }