fixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmocom-bb/+/29939 )
Change subject: trxcon: fix wrong format specifier used in trx_if_cmd_setfh() ......................................................................
trxcon: fix wrong format specifier used in trx_if_cmd_setfh()
Change-Id: Ie2d5621ebd31440ad6e1242cb990f1556a481248 Fixes: CID#282868, CID#282866 --- M src/host/trxcon/src/trx_if.c 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved
diff --git a/src/host/trxcon/src/trx_if.c b/src/host/trxcon/src/trx_if.c index 6ae00f3..7f3ce08 100644 --- a/src/host/trxcon/src/trx_if.c +++ b/src/host/trxcon/src/trx_if.c @@ -474,7 +474,7 @@ rc = snprintf(ptr, ma_buf_len, "%u %u ", rx_freq * 100, tx_freq * 100); if (rc < 0 || rc > ma_buf_len) { /* Prevent buffer overflow */ LOGPFSML(trx->fi, LOGL_ERROR, "Not enough room to encode " - "Mobile Allocation (N=%zu)\n", cmdp->ma_len); + "Mobile Allocation (N=%u)\n", cmdp->ma_len); return -ENOSPC; }