]> git.proxmox.com Git - mirror_edk2.git/commitdiff
SecurityPkg/MemoryOverwriteControl: Add missing argument to DEBUG print
authorMichael Kubacki <michael.kubacki@microsoft.com>
Fri, 3 Sep 2021 19:58:21 +0000 (03:58 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sat, 4 Sep 2021 09:03:22 +0000 (09:03 +0000)
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>
SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.c

index 1bf49f2d0fb8fa8cee62c19e39b6d0ca5801940e..32b64a31d17c46f01501ae189e4d24d2dcb52fee 100644 (file)
@@ -52,7 +52,7 @@ OnReadyToBoot (
                &mMorControl\r
                );\r
   if (EFI_ERROR (Status)) {\r
-    DEBUG ((EFI_D_ERROR, "TcgMor: Clear MOR_CLEAR_MEMORY_BIT failure, Status = %r\n"));\r
+    DEBUG ((DEBUG_ERROR, "TcgMor: Clear MOR_CLEAR_MEMORY_BIT failure, Status = %r\n", Status));\r
   }\r
 }\r
 \r