From ecfc947a39aa8be76b5f378c77b845622bca8b5f Mon Sep 17 00:00:00 2001 From: kat Date: Mon, 28 Jul 2025 08:49:18 -0400 Subject: Improve and migrate to fmt logging functions in Mach-O/KernelCache/SharedCache --- view/sharedcache/core/MappedFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/sharedcache/core/MappedFile.cpp') 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(result); -- cgit v1.3.1