summaryrefslogtreecommitdiffstats
path: root/SecurityPkg/Tcg
diff options
context:
space:
mode:
authorMichael Kubacki <michael.kubacki@microsoft.com>2021-09-04 03:58:21 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-09-04 09:03:22 +0000
commitedf8bc6d24c6f490c27de3144eee88f1ca40ce6a (patch)
tree14a91671e6bbec28975a834eb5782ef47aa3015b /SecurityPkg/Tcg
parent81d71fb86e1ad676e94becb7ffffb403cefd3019 (diff)
downloadedk2-edf8bc6d24c6f490c27de3144eee88f1ca40ce6a.tar.gz
edk2-edf8bc6d24c6f490c27de3144eee88f1ca40ce6a.tar.bz2
edk2-edf8bc6d24c6f490c27de3144eee88f1ca40ce6a.zip
SecurityPkg/MemoryOverwriteControl: Add missing argument to DEBUG print
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3605 The error message is missing the argument for the status code print specifier. Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Qi Zhang <qi1.zhang@intel.com> Cc: Rahul Kumar <rahul1.kumar@intel.com> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'SecurityPkg/Tcg')
-rw-r--r--SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.c b/SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.c
index 1bf49f2d0f..32b64a31d1 100644
--- a/SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.c
+++ b/SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.c
@@ -52,7 +52,7 @@ OnReadyToBoot (
&mMorControl
);
if (EFI_ERROR (Status)) {
- DEBUG ((EFI_D_ERROR, "TcgMor: Clear MOR_CLEAR_MEMORY_BIT failure, Status = %r\n"));
+ DEBUG ((DEBUG_ERROR, "TcgMor: Clear MOR_CLEAR_MEMORY_BIT failure, Status = %r\n", Status));
}
}