summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include/Library/PostCodeLib.h
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Include/Library/PostCodeLib.h')
-rw-r--r--MdePkg/Include/Library/PostCodeLib.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/MdePkg/Include/Library/PostCodeLib.h b/MdePkg/Include/Library/PostCodeLib.h
index 78ce4b205a..5a80c561df 100644
--- a/MdePkg/Include/Library/PostCodeLib.h
+++ b/MdePkg/Include/Library/PostCodeLib.h
@@ -125,7 +125,7 @@ PostCodeDescriptionEnabled (
@return Value
**/
-#define POST_CODE(Value) ReportPostCodeEnabled() ? PostCode(Value) : Value
+#define POST_CODE(Value) PostCodeEnabled() ? PostCode(Value) : Value
/**
Sends an 32-bit value to a POST and associated ASCII string.
@@ -141,8 +141,8 @@ PostCodeDescriptionEnabled (
**/
#define POST_CODE_WITH_DESCRIPTION(Value,Description) \
- ReportPostCodeEnabled() ? \
- (ReportPostCodeDescriptionEnabled() ? \
+ PostCodeEnabled() ? \
+ (PostCodeDescriptionEnabled() ? \
PostCodeWithDescription(Value,Description) : \
PostCode(Value)) : \
Value