Change in osmocom-bb[master]: firmware/l23_api.c: cosmetic: use proper format specifier

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Wed Sep 5 19:23:21 UTC 2018


Vadim Yanitskiy has uploaded this change for review. ( https://gerrit.osmocom.org/10781


Change subject: firmware/l23_api.c: cosmetic: use proper format specifier
......................................................................

firmware/l23_api.c: cosmetic: use proper format specifier

The '%u' format specifier should be used for unsigned values.

Change-Id: I1108c34e864304126e581d30b75bbd95b93f60b8
---
M src/target/firmware/layer1/l23_api.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/81/10781/1

diff --git a/src/target/firmware/layer1/l23_api.c b/src/target/firmware/layer1/l23_api.c
index 5bfece7..5a5f7f9 100644
--- a/src/target/firmware/layer1/l23_api.c
+++ b/src/target/firmware/layer1/l23_api.c
@@ -337,7 +337,7 @@
 	struct l1ctl_info_ul *ul = (struct l1ctl_info_ul *) l1h->data;
 	struct l1ctl_par_req *par_req = (struct l1ctl_par_req *) ul->payload;
 
-	printd("L1CTL_PARAM_REQ (ta=%u, tx_power=%d)\n", par_req->ta,
+	printd("L1CTL_PARAM_REQ (ta=%u, tx_power=%u)\n", par_req->ta,
 		par_req->tx_power);
 
 	l1s.ta = par_req->ta;

-- 
To view, visit https://gerrit.osmocom.org/10781
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1108c34e864304126e581d30b75bbd95b93f60b8
Gerrit-Change-Number: 10781
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180905/77bc2284/attachment.htm>


More information about the gerrit-log mailing list