diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-04-19 14:32:18 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-04-19 14:32:20 +0200 |
commit | cd8c5f3fa4ee0edeb6966bf6ebb13e53adeb0ec8 (patch) | |
tree | 671d76a496c64ac4fe8e1246092f4120e90f7e11 /openbsc | |
parent | cbd5bdad297a4c410240b4d1ed3998d167e039a4 (diff) |
chan_alloc.c: Fix log var formatting issues
Backport from osmo-bsc.git Change-Id I7a5e5d26f250f954853c12cfd4de08fed68c178e.
Change-Id: Id2ed51eed42e9fd9c91d257c245f7bce8d568f3a
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/libbsc/chan_alloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/libbsc/chan_alloc.c b/openbsc/src/libbsc/chan_alloc.c index c4bc949c8..52a8259dd 100644 --- a/openbsc/src/libbsc/chan_alloc.c +++ b/openbsc/src/libbsc/chan_alloc.c @@ -579,7 +579,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 */ @@ -622,7 +622,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); } |