From dfab971e9183bc53f503da6fb9631644e9a72604 Mon Sep 17 00:00:00 2001 From: Rebecca Cran Date: Tue, 26 Nov 2024 21:42:01 -0700 Subject: SecurityPkg: Improve formatting of msg when GetVariable fails Improve the formatting of the error message when GetVariable fails: start the message with an upper-case character, and close the quotes around the variable name. Signed-off-by: Rebecca Cran --- .../SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.c b/SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.c index d6046c85d2..0c28eaa0b6 100644 --- a/SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.c +++ b/SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.c @@ -162,7 +162,7 @@ EnrollFromDefault ( DataSize = 0; Status = GetVariable2 (DefaultName, &gEfiGlobalVariableGuid, &Data, &DataSize); if (EFI_ERROR (Status)) { - DEBUG ((DEBUG_ERROR, "error: GetVariable (\"%s): %r\n", DefaultName, Status)); + DEBUG ((DEBUG_ERROR, "Error: GetVariable (\"%s\"): %r\n", DefaultName, Status)); return Status; } -- cgit