summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Library/EdkUefiDebugLibConOut
diff options
context:
space:
mode:
Diffstat (limited to 'EdkModulePkg/Library/EdkUefiDebugLibConOut')
-rw-r--r--EdkModulePkg/Library/EdkUefiDebugLibConOut/DebugLib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/EdkModulePkg/Library/EdkUefiDebugLibConOut/DebugLib.c b/EdkModulePkg/Library/EdkUefiDebugLibConOut/DebugLib.c
index 5f5f2c56ca..43d904a677 100644
--- a/EdkModulePkg/Library/EdkUefiDebugLibConOut/DebugLib.c
+++ b/EdkModulePkg/Library/EdkUefiDebugLibConOut/DebugLib.c
@@ -189,7 +189,7 @@ DebugAssert (
If Buffer is NULL, then ASSERT().
- If Length is greater than (MAX_ADDRESS – Buffer + 1), then ASSERT().
+ If Length is greater than (MAX_ADDRESS ? Buffer + 1), then ASSERT().
@param Buffer Pointer to the target buffer to fill with PcdDebugClearMemoryValue.
@param Length Number of bytes in Buffer to fill with zeros PcdDebugClearMemoryValue.