Harald Welte has submitted this change and it was merged.

Change subject: chan_alloc.c: Fix log var formatting issues
......................................................................


chan_alloc.c: Fix log var formatting issues

Change-Id: I7a5e5d26f250f954853c12cfd4de08fed68c178e
---
M src/libbsc/chan_alloc.c
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Stefan Sperling: Looks good to me, but someone else must approve
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/libbsc/chan_alloc.c b/src/libbsc/chan_alloc.c
index a08fdee..e72ab3c 100644
--- a/src/libbsc/chan_alloc.c
+++ b/src/libbsc/chan_alloc.c
@@ -632,7 +632,7 @@
 
        /* 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 @@
        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);
 }

-- 
To view, visit https://gerrit.osmocom.org/7878
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I7a5e5d26f250f954853c12cfd4de08fed68c178e
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Stefan Sperling <[email protected]>

Reply via email to