cosmetic: Replace %i with %d
Our linter will fail on %i, so let's replace any legacy occurrences with %d Change-Id: Ic302915bd5576d3e1f77668918f005d651daf21a
This commit is contained in:
parent
d47d288630
commit
61b005193c
|
@ -418,9 +418,9 @@ static void config_write_bts_single(struct vty *vty, const struct gsm_bts *bts)
|
|||
vty_out(vty, " rtp port-range %u %u%s", bts->rtp_port_range_start,
|
||||
bts->rtp_port_range_end, VTY_NEWLINE);
|
||||
if (bts->rtp_ip_dscp != -1)
|
||||
vty_out(vty, " rtp ip-dscp %i%s", bts->rtp_ip_dscp, VTY_NEWLINE);
|
||||
vty_out(vty, " rtp ip-dscp %d%s", bts->rtp_ip_dscp, VTY_NEWLINE);
|
||||
if (bts->rtp_priority != -1)
|
||||
vty_out(vty, " rtp socket-priority %i%s", bts->rtp_priority, VTY_NEWLINE);
|
||||
vty_out(vty, " rtp socket-priority %d%s", bts->rtp_priority, VTY_NEWLINE);
|
||||
vty_out(vty, " paging queue-size %u%s", paging_get_queue_max(bts->paging_state),
|
||||
VTY_NEWLINE);
|
||||
vty_out(vty, " paging lifetime %u%s", paging_get_lifetime(bts->paging_state),
|
||||
|
|
|
@ -1173,7 +1173,7 @@ static int app_info_compl_cb(struct octphy_hdl *fl1h, struct msgb *resp,
|
|||
tOCTVC1_MAIN_MSG_APPLICATION_INFO_RSP *air =
|
||||
(tOCTVC1_MAIN_MSG_APPLICATION_INFO_RSP *) resp->l2h;
|
||||
|
||||
snprintf(ver_hdr, sizeof(ver_hdr), "%02i.%02i.%02i-B%i",
|
||||
snprintf(ver_hdr, sizeof(ver_hdr), "%02d.%02d.%02d-B%d",
|
||||
cOCTVC1_MAIN_VERSION_MAJOR, cOCTVC1_MAIN_VERSION_MINOR,
|
||||
cOCTVC1_MAIN_VERSION_MAINTENANCE, cOCTVC1_MAIN_VERSION_BUILD);
|
||||
|
||||
|
|
|
@ -119,7 +119,7 @@ static int rf_port_stats_compl_cb(struct octphy_hdl *fl1, struct msgb *resp,
|
|||
|
||||
LOGP(DL1C, LOGL_INFO, "RF-PORT-STATS.resp Idx=%u RadioStandard=%s, "
|
||||
"Rx(Bytes=%u, Overflow=%u, AvgBps=%u, Period=%uus, Freq=%u) "
|
||||
"Tx(Bytes=%i, Underflow=%u, AvgBps=%u, Period=%uus, Freq=%u)\n",
|
||||
"Tx(Bytes=%d, Underflow=%u, AvgBps=%u, Period=%uus, Freq=%u)\n",
|
||||
psr->ulPortIndex,
|
||||
get_value_string(radio_std_vals, psr->ulRadioStandard),
|
||||
psr->RxStats.ulRxByteCnt, psr->RxStats.ulRxOverflowCnt,
|
||||
|
|
Loading…
Reference in New Issue