From 8700c0f79090f39771c197481b66bc0d3fd9de81 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Sat, 26 Jul 2025 03:23:05 +0200 Subject: ipcpd: Get correct eth MTU on MacOS and BSD The device MTU was not retrieved on those platforms. Fixed that while refactoring the bootstrap function. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- src/lib/tpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') 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; -- cgit v1.2.3