qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-trivial] [PATCH v2] tpm_tis: fix format for 64bit variable


From: Stefan Berger
Subject: [Qemu-trivial] [PATCH v2] tpm_tis: fix format for 64bit variable
Date: Tue, 31 Mar 2015 11:05:18 -0400

Signed-off-by: Stefan Berger <address@hidden>
---
 hw/tpm/tpm_tis.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/tpm/tpm_tis.c b/hw/tpm/tpm_tis.c
index 815c8ea..3f42982 100644
--- a/hw/tpm/tpm_tis.c
+++ b/hw/tpm/tpm_tis.c
@@ -814,7 +814,7 @@ static void tpm_tis_mmio_write_intern(void *opaque, hwaddr 
addr,
             tis->loc[locty].state == TPM_TIS_STATE_COMPLETION) {
             /* drop the byte */
         } else {
-            DPRINTF("tpm_tis: Data to send to TPM: %08x (size=%d)\n",
+            DPRINTF("tpm_tis: Data to send to TPM: 0x%08" PRIx64 " 
(size=%d)\n",
                     val, size);
             if (tis->loc[locty].state == TPM_TIS_STATE_READY) {
                 tis->loc[locty].state = TPM_TIS_STATE_RECEPTION;
-- 
1.9.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]