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>
This commit is contained in:
Rebecca Cran 2024-11-26 21:42:01 -07:00 committed by mergify[bot]
parent 61c714285f
commit dfab971e91
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}