fixeria has uploaded this change for review.

View Change

trxcon: fix wrong format specifier used in trx_if_cmd_setfh()

Change-Id: Ie2d5621ebd31440ad6e1242cb990f1556a481248
Fixes: CID#282868
---
M src/host/trxcon/src/trx_if.c
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/39/29939/1
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 change 29939. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: Ie2d5621ebd31440ad6e1242cb990f1556a481248
Gerrit-Change-Number: 29939
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de>
Gerrit-MessageType: newchange