diff options
| author | Alexander Couzens | 2024-08-13 19:33:30 +0000 |
|---|---|---|
| committer | David Bauer | 2025-05-31 20:41:00 +0000 |
| commit | c54ceb687743d49ea3c447a2756940867c3ea7b4 (patch) | |
| tree | 2524a14952b166edc7c2ac1fa6b4448a85cf028a | |
| parent | 6edff78b2bc3e96eaf783e7609d2cfcaef502648 (diff) | |
| download | uqmi-c54ceb687743d49ea3c447a2756940867c3ea7b4.tar.gz | |
uqmid: osmocom/fsm: fix logline for 64bit timestamp
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
| -rw-r--r-- | uqmid/osmocom/fsm.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |