diff options
| author | Lans Zhang <jia.zhang@windriver.com> | 2016-11-16 15:24:00 +0800 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2016-11-30 12:56:55 -0500 |
| commit | 1ee26db0db18c60c5a4ac15bca4681c68485b7eb (patch) | |
| tree | 85b12bf47b133f6c8dd286d19f31bf40abebc9cf | |
| parent | d3884fe8336be793e3b3ad5813f5e6c436d78d60 (diff) | |
| download | efi-boot-shim-1ee26db0db18c60c5a4ac15bca4681c68485b7eb.tar.gz efi-boot-shim-1ee26db0db18c60c5a4ac15bca4681c68485b7eb.zip | |
shim/tpm: print the error status if trigger fails
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
| -rw-r--r-- | tpm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |
