summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Library/EdkDxeDebugLibReportStatusCode/DebugLib.c
diff options
context:
space:
mode:
Diffstat (limited to 'EdkModulePkg/Library/EdkDxeDebugLibReportStatusCode/DebugLib.c')
-rw-r--r--EdkModulePkg/Library/EdkDxeDebugLibReportStatusCode/DebugLib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/EdkModulePkg/Library/EdkDxeDebugLibReportStatusCode/DebugLib.c b/EdkModulePkg/Library/EdkDxeDebugLibReportStatusCode/DebugLib.c
index fed9ba4d66..482e12e79e 100644
--- a/EdkModulePkg/Library/EdkDxeDebugLibReportStatusCode/DebugLib.c
+++ b/EdkModulePkg/Library/EdkDxeDebugLibReportStatusCode/DebugLib.c
@@ -225,7 +225,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.