diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2025-07-26 03:23:05 +0200 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2025-08-01 08:08:51 +0200 |
commit | 8700c0f79090f39771c197481b66bc0d3fd9de81 (patch) | |
tree | 4097eca1b8cda648253966f9a4e44dbf4f2d4e3a /src/lib/tpm.c | |
parent | 0357545e0305d4179acbc5dee7f9385b2823074d (diff) | |
download | ouroboros-8700c0f79090f39771c197481b66bc0d3fd9de81.tar.gz ouroboros-8700c0f79090f39771c197481b66bc0d3fd9de81.zip |
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 <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/lib/tpm.c')
-rw-r--r-- | src/lib/tpm.c | 2 |
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; |