summaryrefslogtreecommitdiff
path: root/StandaloneMmPkg
diff options
context:
space:
mode:
authorBenjamin Doron <benjamin.doron@9elements.com>2025-07-21 10:44:07 -0400
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-02-26 18:57:32 +0000
commit6ac200557612c12b49b4b391fca72ac9b9be7501 (patch)
tree88c7ffe30fba757fe06039f9767aafe8219bb8a7 /StandaloneMmPkg
parent6900f80295e46e393464b3f507a9b4a734aacc91 (diff)
downloadedk2-6ac200557612c12b49b4b391fca72ac9b9be7501.tar.gz
edk2-6ac200557612c12b49b4b391fca72ac9b9be7501.zip
StandaloneMmPkg/Core: Improve the readability of debug statement
We expect numbers to be in decimal, and addresses to have a "0x" prepended. Especially when an address and a number are used together, it can be confusing for both to be hexadecimal and neither to have "0x". Signed-off-by: Benjamin Doron <benjamin.doron@9elements.com>
Diffstat (limited to 'StandaloneMmPkg')
-rw-r--r--StandaloneMmPkg/Core/StandaloneMmCore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/StandaloneMmPkg/Core/StandaloneMmCore.c b/StandaloneMmPkg/Core/StandaloneMmCore.c
index b3908655df..2c33390f73 100644
--- a/StandaloneMmPkg/Core/StandaloneMmCore.c
+++ b/StandaloneMmPkg/Core/StandaloneMmCore.c
@@ -455,7 +455,7 @@ MmCorePrepareCommunicationBuffer (
mMmCommunicationBuffer = (MM_COMM_BUFFER *)GET_GUID_HOB_DATA (GuidHob);
DEBUG ((
DEBUG_INFO,
- "MM Communication Buffer is at %x, number of pages is %x\n",
+ "MM Communication Buffer is at 0x%x, number of pages is %d\n",
mMmCommunicationBuffer->PhysicalStart,
mMmCommunicationBuffer->NumberOfPages
));