mirror of
https://github.com/stefanberger/libtpms
synced 2025-12-30 18:31:53 +00:00
tpm2: Add missing argument for string format
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
parent
0f2506fc41
commit
fade216e73
@ -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",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user