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>
This commit is contained in:
Michael Kubacki 2021-09-04 03:58:21 +08:00 committed by mergify[bot]
parent 81d71fb86e
commit edf8bc6d24
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}
}