From c54ceb687743d49ea3c447a2756940867c3ea7b4 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Tue, 13 Aug 2024 21:33:30 +0200 Subject: [PATCH] uqmid: osmocom/fsm: fix logline for 64bit timestamp Signed-off-by: Alexander Couzens --- uqmid/osmocom/fsm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uqmid/osmocom/fsm.c b/uqmid/osmocom/fsm.c index 250ff24..17816c7 100644 --- a/uqmid/osmocom/fsm.c +++ b/uqmid/osmocom/fsm.c @@ -660,7 +660,7 @@ static int state_chg(struct osmo_fsm_inst *fi, uint32_t new_state, else snprintf(trailer, sizeof(trailer), "(keeping " OSMO_T_FMT ", %ld.%03lds remaining)", OSMO_T_FMT_ARGS(fi->T), - (long) remaining.tv_sec, remaining.tv_usec / 1000); + (long) remaining.tv_sec, (long) remaining.tv_usec / 1000); } else if (timeout_ms) { if (timeout_ms % 1000 == 0) /* keep log output legacy compatible to avoid autotest failures */ -- 2.30.2