summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utility/tpmc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/utility/tpmc.c b/utility/tpmc.c
index f69bcd07..76a63e02 100644
--- a/utility/tpmc.c
+++ b/utility/tpmc.c
@@ -450,7 +450,10 @@ command_record command_table[] = {
#endif
{ "lockphysicalpresence", "pplock", "lock (turn off) PP until reboot",
TlclLockPhysicalPresence },
-#ifndef TPM2_MODE
+#ifdef TPM2_MODE
+ { "setbgloballock", "block", "set rollback protection lock until reboot",
+ TlclLockPhysicalPresence },
+#else
{ "setbgloballock", "block", "set the bGlobalLock until reboot",
TlclSetGlobalLock },
#endif