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

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Sun May 5 13:53:24 UTC 2019


Vadim Yanitskiy has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/78/13878/1

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: newchange
Gerrit-Change-Id: I8f372a689b3c1cc2cf925654b2db44a0f4ee7603
Gerrit-Change-Number: 13878
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/20190505/70f8e855/attachment.html>


More information about the gerrit-log mailing list