diff options
| author | kat <kat@vector35.com> | 2025-07-28 08:49:18 -0400 |
|---|---|---|
| committer | kat <kat@vector35.com> | 2025-07-28 08:52:47 -0400 |
| commit | ecfc947a39aa8be76b5f378c77b845622bca8b5f (patch) | |
| tree | 8dd9cd7d76df935bd7799c87c4748ec1adcbde2c /view/sharedcache/core/MappedFile.cpp | |
| parent | 0d031494987b6e1f36ebaaf3b0b92c278cd8ca6b (diff) | |
Improve and migrate to fmt logging functions in Mach-O/KernelCache/SharedCache
Diffstat (limited to 'view/sharedcache/core/MappedFile.cpp')
| -rw-r--r-- | view/sharedcache/core/MappedFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/sharedcache/core/MappedFile.cpp b/view/sharedcache/core/MappedFile.cpp index e0b805bc..21bda4f8 100644 --- a/view/sharedcache/core/MappedFile.cpp +++ b/view/sharedcache/core/MappedFile.cpp @@ -89,7 +89,7 @@ MapStatus MappedFile::Map() void* result = mmap(nullptr, len, PROT_READ | PROT_WRITE, MAP_PRIVATE, fileno(fd), 0u); if (result == MAP_FAILED) { - BinaryNinja::LogError("mmap failed: %s", strerror(errno)); // Use errno to log the reason + BinaryNinja::LogErrorF("mmap failed: {}", strerror(errno)); // Use errno to log the reason return MapStatus::Error; } _mmap = static_cast<uint8_t*>(result); |
