From edf8bc6d24c6f490c27de3144eee88f1ca40ce6a Mon Sep 17 00:00:00 2001 From: Michael Kubacki Date: Sat, 4 Sep 2021 03:58:21 +0800 Subject: 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 Cc: Jian J Wang Cc: Qi Zhang Cc: Rahul Kumar Signed-off-by: Michael Kubacki Reviewed-by: Jiewen Yao --- SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'SecurityPkg/Tcg') diff --git a/SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.c b/SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.c index 1bf49f2d0f..32b64a31d1 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)); } } -- cgit v1.2.3