Skip to content

Commit

Permalink
SecurityPkg: Improve formatting of msg when GetVariable fails
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
bexcran authored and mergify[bot] committed Dec 4, 2024
1 parent 61c7142 commit dfab971
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit dfab971

Please sign in to comment.