loader: Add missing printf argument

This commit is contained in:
Lioncash 2015-01-30 11:33:20 -05:00
parent 551264f815
commit 0c4685ca12

View file

@ -150,7 +150,7 @@ ResultStatus LoadFile(const std::string& filename) {
// IdentifyFile could know identify file type... // IdentifyFile could know identify file type...
case FileType::Unknown: 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; return ResultStatus::ErrorInvalidFormat;
} }
} }