summaryrefslogtreecommitdiff
path: root/src/security/tpm/tspi
diff options
context:
space:
mode:
Diffstat (limited to 'src/security/tpm/tspi')
-rw-r--r--src/security/tpm/tspi/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/security/tpm/tspi/log.c b/src/security/tpm/tspi/log.c
index 086acebe6a..b7e59f804e 100644
--- a/src/security/tpm/tspi/log.c
+++ b/src/security/tpm/tspi/log.c
@@ -98,7 +98,7 @@ void tpm_cb_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;
}