loader: Move old logging macros over to new fmt-capable ones

This commit is contained in:
Lioncash 2018-04-24 20:17:03 -04:00
parent dcd72b36ca
commit ff63e4d3fc
5 changed files with 25 additions and 26 deletions

View file

@ -84,7 +84,7 @@ void Linker::WriteRelocations(std::vector<u8>& program_image, const std::vector<
}
break;
default:
LOG_CRITICAL(Loader, "Unknown relocation type: %d", static_cast<int>(rela.type));
NGLOG_CRITICAL(Loader, "Unknown relocation type: {}", static_cast<int>(rela.type));
break;
}
}
@ -141,7 +141,7 @@ void Linker::ResolveImports() {
if (search != exports.end()) {
Memory::Write64(import.second.ea, search->second + import.second.addend);
} else {
LOG_ERROR(Loader, "Unresolved import: %s", import.first.c_str());
NGLOG_ERROR(Loader, "Unresolved import: {}", import.first);
}
}
}