summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRebecca Cran <rebecca@bsdio.com>2024-11-26 21:42:01 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-12-04 09:30:53 +0000
commitdfab971e9183bc53f503da6fb9631644e9a72604 (patch)
tree3f4863de7c5c5f563f5b51fdacdb8740259597cf
parent61c714285f8cb83aa89b91798255f82260fa4ac2 (diff)
downloadedk2-dfab971e9183bc53f503da6fb9631644e9a72604.tar.gz
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 <rebecca@bsdio.com>
-rw-r--r--SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.c2
1 files changed, 1 insertions, 1 deletions
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;
}