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;
}
--
To view, visit
https://gerrit.osmocom.org/c/osmocom-bb/+/29939
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: Ie2d5621ebd31440ad6e1242cb990f1556a481248
Gerrit-Change-Number: 29939
Gerrit-PatchSet: 3
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: merged