mirror of https://github.com/acidanthera/audk.git
SecurityPkg/SmmTcg2PhysicalPresenceLib: Add missing debug print specifier
The debug macro modified in this change was missing a print specifier for a debug message argument given. 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:
parent
c403de7bd4
commit
e495b1009a
|
@ -176,7 +176,7 @@ EXIT:
|
||||||
// Sync PPRQ/PPRM from PP Variable if PP submission fails
|
// Sync PPRQ/PPRM from PP Variable if PP submission fails
|
||||||
//
|
//
|
||||||
if (ReturnCode != TCG_PP_SUBMIT_REQUEST_TO_PREOS_SUCCESS) {
|
if (ReturnCode != TCG_PP_SUBMIT_REQUEST_TO_PREOS_SUCCESS) {
|
||||||
DEBUG ((DEBUG_ERROR, "[TPM2] Submit PP Request failure! Sync PPRQ/PPRM with PP variable.\n", Status));
|
DEBUG ((DEBUG_ERROR, "[TPM2] Submit PP Request failure! Sync PPRQ/PPRM with PP variable. Status = %r\n", Status));
|
||||||
DataSize = sizeof (EFI_TCG2_PHYSICAL_PRESENCE);
|
DataSize = sizeof (EFI_TCG2_PHYSICAL_PRESENCE);
|
||||||
ZeroMem (&PpData, DataSize);
|
ZeroMem (&PpData, DataSize);
|
||||||
Status = mTcg2PpSmmVariable->SmmGetVariable (
|
Status = mTcg2PpSmmVariable->SmmGetVariable (
|
||||||
|
|
Loading…
Reference in New Issue