aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-04-19 14:31:13 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-04-19 14:31:17 +0200
commitfa422556ad1833a8626b0536d21ebf19662857ec (patch)
tree370fa3dab4819ee1bbe13c84fb825e8dba56abcd
parentf7fa89275d0aaedd929811c38c21c157c42631d1 (diff)
chan_alloc.c: Fix log var formatting issues
-rw-r--r--src/libbsc/chan_alloc.c4
1 files changed, 2 insertions, 2 deletions
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);
}