summaryrefslogtreecommitdiff
path: root/src/lib/tpm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/tpm.c')
-rw-r--r--src/lib/tpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tpm.c b/src/lib/tpm.c
index a7391bd7..ce2dd12d 100644
--- a/src/lib/tpm.c
+++ b/src/lib/tpm.c
@@ -105,7 +105,7 @@ static void tpm_join(struct tpm * tpm)
if(e->busy && ldiff > TPM_DEBUG_REPORT_INTERVAL) {
e->last = now;
printf("Thread %d:%lx running for %ld s.\n",
- getpid(),e->thr, diff);
+ getpid(), (long) e->thr, diff);
}
}
hung = e->busy && !e->wait && diff > TPM_DEBUG_ABORT_TIMEOUT;