Display the correct TPM PCR value. Signed-off-by: Mimi Zohar <zohar@xxxxxxxxxxxxx> --- src/evmctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/evmctl.c b/src/evmctl.c index 46b7092b469d..1a5f3545d844 100644 --- a/src/evmctl.c +++ b/src/evmctl.c @@ -1635,7 +1635,7 @@ static int compare_tpm_banks(int num_banks, struct tpm_bank_info *bank, bank[i].algo_name, j); else log_info("%s: PCRAgg %d does not match TPM PCR-%d\n", - bank[i].algo_name, i, i); + bank[i].algo_name, j, j); } } return ret; -- 2.7.5