summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2024-07-19 23:11:38 +0200
committerSander Vrijders <sander@ouroboros.rocks>2024-07-22 14:08:06 +0200
commitd0ab4de4422094d300975aff1109a021788b9de1 (patch)
tree43abb8232ee2817702365a1c84fa5d064aee95a8 /src
parentbd8430f3399202bc88cc8abe0285f9517ab2cc28 (diff)
downloadouroboros-d0ab4de4422094d300975aff1109a021788b9de1.tar.gz
ouroboros-d0ab4de4422094d300975aff1109a021788b9de1.zip
irmd: Fix printing tv_sec
There was a logline printing tv_sec as a ssize_t instead of a long, causing compilation on raspbian 32-bit to fail. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src')
-rw-r--r--src/irmd/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irmd/main.c b/src/irmd/main.c
index 5d91baf0..cc15078f 100644
--- a/src/irmd/main.c
+++ b/src/irmd/main.c
@@ -1232,7 +1232,7 @@ static int flow_alloc_reply(struct flow_info * flow,
static int flow_dealloc(struct flow_info * flow,
struct timespec * ts)
{
- log_info("Deallocating flow %d for process %d (timeout: %zd s).",
+ log_info("Deallocating flow %d for process %d (timeout: %ld s).",
flow->id, flow->n_pid, ts->tv_sec);
reg_dealloc_flow(flow);