diff --git a/src/security/tpm/tspi/log.c b/src/security/tpm/tspi/log.c index e33cacb87a..8796c74b2b 100644 --- a/src/security/tpm/tspi/log.c +++ b/src/security/tpm/tspi/log.c @@ -97,7 +97,7 @@ void tpm_preram_log_clear(void) { printk(BIOS_INFO, "TPM LOG: clearing preram log\n"); struct tpm_cb_log_table *tclt = (struct tpm_cb_log_table *)_tpm_log; - tclt->max_entries = MAX_TPM_LOG_ENTRIES; + tclt->max_entries = MAX_PRERAM_TPM_LOG_ENTRIES; tclt->num_entries = 0; }