tpm2: Add missing argument for string format

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
Stefan Berger 2024-07-25 10:15:21 -04:00 committed by Stefan Berger
parent 0f2506fc41
commit fade216e73

View File

@ -402,7 +402,8 @@ RuntimeCommandsCheckEnabled(struct RuntimeCommands *RuntimeCommands,
)
{
if (CcToIdx(commandCode) >= ARRAY_SIZE(s_CommandProperties)) {
TPMLIB_LogPrintf("IsEnabled(0x%x): out-of-range command code\n");
TPMLIB_LogPrintf("IsEnabled(0x%x): out-of-range command code\n",
commandCode);
return FALSE;
}
TPMLIB_LogPrintf("IsEnEnabled(0x%x = '%s'): %d\n",