summaryrefslogtreecommitdiff
path: root/src/security/vboot/tpm_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/security/vboot/tpm_common.c')
-rw-r--r--src/security/vboot/tpm_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/security/vboot/tpm_common.c b/src/security/vboot/tpm_common.c
index 1f86f87685..a2e9bb45cd 100644
--- a/src/security/vboot/tpm_common.c
+++ b/src/security/vboot/tpm_common.c
@@ -14,7 +14,7 @@ uint32_t vboot_setup_tpm(struct vb2_context *ctx)
uint32_t rc;
rc = tpm_setup(ctx->flags & VB2_CONTEXT_S3_RESUME);
- if (rc == TPM_E_MUST_REBOOT)
+ if (rc == TPM_CB_MUST_REBOOT)
ctx->flags |= VB2_CONTEXT_SECDATA_WANTS_REBOOT;
return rc;