From fa422556ad1833a8626b0536d21ebf19662857ec Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Thu, 19 Apr 2018 14:31:13 +0200 Subject: chan_alloc.c: Fix log var formatting issues Change-Id: I7a5e5d26f250f954853c12cfd4de08fed68c178e --- src/libbsc/chan_alloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libbsc/chan_alloc.c') diff --git a/src/libbsc/chan_alloc.c b/src/libbsc/chan_alloc.c index a08fdeed8..e72ab3ca2 100644 --- a/src/libbsc/chan_alloc.c +++ b/src/libbsc/chan_alloc.c @@ -632,7 +632,7 @@ bts_update_t3122_chan_load(struct gsm_bts *bts) /* Check for invalid samples (shouldn't happen). */ if (total == 0 || used > total) { - LOGP(DRLL, LOGL_NOTICE, "(bts=%d) bogus channel load sample (used=%lu / total=%u)\n", + LOGP(DRLL, LOGL_NOTICE, "(bts=%d) bogus channel load sample (used=%"PRIu64" / total=%"PRIu32")\n", bts->nr, used, total); bts->T3122 = 0; /* disable override of network-wide default value */ bts->chan_load_samples_idx = 0; /* invalidate other samples collected so far */ @@ -675,7 +675,7 @@ bts_update_t3122_chan_load(struct gsm_bts *bts) else if (wait_ind > max_wait_ind) wait_ind = max_wait_ind; - LOGP(DRLL, LOGL_DEBUG, "(bts=%d) T3122 wait indicator set to %lu seconds\n", bts->nr, wait_ind); + LOGP(DRLL, LOGL_DEBUG, "(bts=%d) T3122 wait indicator set to %"PRIu64" seconds\n", bts->nr, wait_ind); bts->T3122 = (uint8_t)wait_ind; osmo_stat_item_set(bts->bts_statg->items[BTS_STAT_T3122], wait_ind); } -- cgit v1.2.3