loader: Add missing printf argument

pull/8/head
Lioncash 11 years ago
parent 551264f815
commit 0c4685ca12

@ -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;
} }
} }

Loading…
Cancel
Save