From dc25dd683583818ca2524e444a8ca29172034c4e Mon Sep 17 00:00:00 2001 From: Stephen Miller <56742918+StevenMiller123@users.noreply.github.com> Date: Thu, 15 May 2025 12:55:49 -0500 Subject: [PATCH] Clang You know you're doing something right when Clang complains. --- src/core/memory.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/memory.cpp b/src/core/memory.cpp index 5cde2a0af..0778fe47d 100644 --- a/src/core/memory.cpp +++ b/src/core/memory.cpp @@ -386,8 +386,7 @@ int MemoryManager::MapMemory(void** out_addr, VAddr virtual_addr, size_t size, M vma = FindVMA(mapped_addr)->second; remaining_size = vma.base + vma.size - mapped_addr; if (vma.IsMapped() || remaining_size < size) { - LOG_ERROR(Kernel_Vmm, "Unable to map {:#x} bytes at address {:#x}", size, - mapped_addr); + LOG_ERROR(Kernel_Vmm, "Unable to map {:#x} bytes at address {:#x}", size, mapped_addr); return ORBIS_KERNEL_ERROR_ENOMEM; } }