]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/MmTcg2PhysicalPresenceLibCommon.c
SecurityPkg/SmmTcg2PhysicalPresenceLib: Add missing debug print specifier
[mirror_edk2.git] / SecurityPkg / Library / SmmTcg2PhysicalPresenceLib / MmTcg2PhysicalPresenceLibCommon.c
index 1fbfc00547cdef32f49024a044839d83e57f6c62..f2ab4f1250078a8615035ec0844c18bc2a5ebe44 100644 (file)
@@ -176,7 +176,7 @@ EXIT:
   // Sync PPRQ/PPRM from PP Variable if PP submission fails\r
   //\r
   if (ReturnCode != TCG_PP_SUBMIT_REQUEST_TO_PREOS_SUCCESS) {\r
-    DEBUG ((DEBUG_ERROR, "[TPM2] Submit PP Request failure! Sync PPRQ/PPRM with PP variable.\n", Status));\r
+    DEBUG ((DEBUG_ERROR, "[TPM2] Submit PP Request failure! Sync PPRQ/PPRM with PP variable. Status = %r\n", Status));\r
     DataSize = sizeof (EFI_TCG2_PHYSICAL_PRESENCE);\r
     ZeroMem (&PpData, DataSize);\r
     Status = mTcg2PpSmmVariable->SmmGetVariable (\r