diff options
author | Michael Kubacki <michael.kubacki@microsoft.com> | 2021-09-04 03:58:21 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-09-04 09:03:22 +0000 |
commit | edf8bc6d24c6f490c27de3144eee88f1ca40ce6a (patch) | |
tree | 14a91671e6bbec28975a834eb5782ef47aa3015b /SecurityPkg | |
parent | 81d71fb86e1ad676e94becb7ffffb403cefd3019 (diff) | |
download | edk2-edf8bc6d24c6f490c27de3144eee88f1ca40ce6a.zip edk2-edf8bc6d24c6f490c27de3144eee88f1ca40ce6a.tar.gz edk2-edf8bc6d24c6f490c27de3144eee88f1ca40ce6a.tar.bz2 |
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')
-rw-r--r-- | SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.c b/SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.c index 1bf49f2..32b64a3 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));
}
}
|