From 69518a172cb08e4a67806e464afaff075ea892c7 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 9 Mar 2023 06:41:46 +0200 Subject: [PATCH] Improved log --- Core/Memory/PhysicalMemoryManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/Memory/PhysicalMemoryManager.cpp b/Core/Memory/PhysicalMemoryManager.cpp index 8e12ff8..3c8db6c 100644 --- a/Core/Memory/PhysicalMemoryManager.cpp +++ b/Core/Memory/PhysicalMemoryManager.cpp @@ -140,7 +140,7 @@ namespace Memory { if (unlikely(Address == nullptr || Count == 0)) { - warn("%s%s passed to FreePages.", Address == nullptr ? "Null pointer" : "", Count == 0 ? "Zero count" : ""); + warn("%s%s%s passed to FreePages.", Address == nullptr ? "Null pointer " : "", Address == nullptr && Count == 0 ? "and " : "", Count == 0 ? "Zero count" : ""); return; }