diff options
author | Lioncash <mathew1800@gmail.com> | 2018-04-24 20:17:03 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-04-24 20:22:32 -0400 |
commit | cc2e14ec2a2a0ae5217244237b112fdd1b464d6e (patch) | |
tree | 90382480815cdcd710d343ae8438371023f0b10d /src/core/loader/linker.cpp | |
parent | e8c2bb24b2d839f3b97cd3a17855fd0d1ad8f72e (diff) |
loader: Move old logging macros over to new fmt-capable ones
Diffstat (limited to 'src/core/loader/linker.cpp')
-rw-r--r-- | src/core/loader/linker.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/loader/linker.cpp b/src/core/loader/linker.cpp index 69198e3e39..c7be5f2657 100644 --- a/src/core/loader/linker.cpp +++ b/src/core/loader/linker.cpp @@ -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); } } } |