Change in osmo-bts[master]: common/oml.c: use proper format specifier for uint16_t

Harald Welte gerrit-no-reply at lists.osmocom.org
Sun May 5 16:27:22 UTC 2019


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/13878 )

Change subject: common/oml.c: use proper format specifier for uint16_t
......................................................................

common/oml.c: use proper format specifier for uint16_t

Change-Id: I8f372a689b3c1cc2cf925654b2db44a0f4ee7603
---
M src/common/oml.c
1 file changed, 1 insertion(+), 2 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/src/common/oml.c b/src/common/oml.c
index f288078..baf374a 100644
--- a/src/common/oml.c
+++ b/src/common/oml.c
@@ -590,8 +590,7 @@
 			oml_tx_failure_event_rep(&bts->mo, OSMO_EVT_WARN_SW_WARN,
 						 "Given ARFCN %u is not supported",
 						 arfcn);
-			/* FIXME: use proper format specifier for uint16_t */
-			LOGPFOH(DOML, LOGL_ERROR, foh, "Given ARFCN %d is not supported.\n", arfcn);
+			LOGPFOH(DOML, LOGL_ERROR, foh, "Given ARFCN %u is not supported.\n", arfcn);
 			return oml_fom_ack_nack(msg, NM_NACK_FREQ_NOTAVAIL);
 		}
 	}

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I8f372a689b3c1cc2cf925654b2db44a0f4ee7603
Gerrit-Change-Number: 13878
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190505/84a9efc3/attachment.html>


More information about the gerrit-log mailing list