mirror of
https://git.proxmox.com/git/efi-boot-shim
synced 2025-06-14 09:31:38 +00:00
shim/tpm: print the error status if trigger fails
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
This commit is contained in:
parent
d3884fe833
commit
1ee26db0db
2
tpm.c
2
tpm.c
@ -93,7 +93,7 @@ EFI_STATUS tpm_log_event(EFI_PHYSICAL_ADDRESS buf, UINTN size, UINT8 pcr,
|
||||
|
||||
status = trigger_tcg2_final_events_table(tpm2);
|
||||
if (EFI_ERROR(status)) {
|
||||
perror(L"Unable to trigger tcg2 final events table\n");
|
||||
perror(L"Unable to trigger tcg2 final events table: %r\n", status);
|
||||
return status;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user