mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
SecurityPkg/SecureBootVariableLib: Cleanup debug print readability
All debug prints should end in a newline character. Signed-off-by: Benjamin Doron <benjamin.doron@9elements.com>
This commit is contained in:
parent
8add400a8b
commit
441873c2a9
1 changed files with 6 additions and 6 deletions
|
|
@ -372,7 +372,7 @@ DeleteVariable (
|
|||
|
||||
Status = CreateTimeBasedPayload (&DataSize, &Data, &mMaxTimestamp);
|
||||
if (EFI_ERROR (Status)) {
|
||||
DEBUG ((DEBUG_ERROR, "Fail to create time-based data payload: %r", Status));
|
||||
DEBUG ((DEBUG_ERROR, "Fail to create time-based data payload: %r\n", Status));
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
|
@ -470,7 +470,7 @@ IsSecureBootEnabled (
|
|||
// Skip verification if SecureBoot variable doesn't exist.
|
||||
//
|
||||
if (EFI_ERROR (Status)) {
|
||||
DEBUG ((DEBUG_ERROR, "Cannot check SecureBoot variable %r \n ", Status));
|
||||
DEBUG ((DEBUG_ERROR, "Cannot check SecureBoot variable - %r\n", Status));
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
@ -864,10 +864,10 @@ SetSecureBootVariablesToDefault (
|
|||
Data
|
||||
);
|
||||
if (EFI_ERROR (Status)) {
|
||||
DEBUG ((DEBUG_ERROR, "%a - Failed to enroll DB %r!\n", __func__, Status));
|
||||
DEBUG ((DEBUG_ERROR, "%a - Failed to enroll DB - %r!\n", __func__, Status));
|
||||
}
|
||||
} else {
|
||||
DEBUG ((DEBUG_ERROR, "%a - Failed to enroll DBX %r!\n", __func__, Status));
|
||||
DEBUG ((DEBUG_ERROR, "%a - Failed to enroll DBX - %r!\n", __func__, Status));
|
||||
}
|
||||
|
||||
// Keep it going. Keep it going. dbt if supplied...
|
||||
|
|
@ -881,7 +881,7 @@ SetSecureBootVariablesToDefault (
|
|||
Data
|
||||
);
|
||||
if (EFI_ERROR (Status)) {
|
||||
DEBUG ((DEBUG_ERROR, "%a - Failed to enroll DBT %r!\n", __func__, Status));
|
||||
DEBUG ((DEBUG_ERROR, "%a - Failed to enroll DBT - %r!\n", __func__, Status));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -896,7 +896,7 @@ SetSecureBootVariablesToDefault (
|
|||
Data
|
||||
);
|
||||
if (EFI_ERROR (Status)) {
|
||||
DEBUG ((DEBUG_ERROR, "%a - Failed to enroll KEK %r!\n", __func__, Status));
|
||||
DEBUG ((DEBUG_ERROR, "%a - Failed to enroll KEK - %r!\n", __func__, Status));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue