swtpm: Add missing '%' to %08x

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
Stefan Berger 2022-09-21 20:09:33 -04:00 committed by Stefan Berger
parent 448f6326d7
commit fd5bad56d5

View File

@ -514,7 +514,7 @@ void tpmlib_maybe_send_tpm2_shutdown(TPMLIB_TPMVersion tpmversion,
for (i = 0; i < ARRAY_LEN(shutdownTypes); i++) {
#if 0
logprintf(STDERR_FILENO,
"Need to send TPM2_Shutdown(%s); previous command: 0x08x\n",
"Need to send TPM2_Shutdown(%s); previous command: 0x%08x\n",
shutdownTypes[i] == TPM2_SU_STATE ? "SU_STATE" : "SU_CLEAR",
*lastCommand);
#endif