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/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-pcu/+/20513 )
Change subject: pcu_l1_if: use proper format string specifiers: %d -> %u
......................................................................
pcu_l1_if: use proper format string specifiers: %d -> %u
Change-Id: Ieb81dcb4096acbc7a308d003c9e653800071e149
---
M src/pcu_l1_if.cpp
1 file changed, 5 insertions(+), 5 deletions(-)
Approvals:
Jenkins Builder: Verified
pespin: Looks good to me, but someone else must approve
laforge: Looks good to me, approved
diff --git a/src/pcu_l1_if.cpp b/src/pcu_l1_if.cpp
index da54241..542c9a4 100644
--- a/src/pcu_l1_if.cpp
+++ b/src/pcu_l1_if.cpp
@@ -606,19 +606,19 @@
continue;
}
- LOGP(DL1IF, LOGL_DEBUG, " NS%d nsvci=%d\n", i, info_ind->nsvci[i]);
- LOGP(DL1IF, LOGL_DEBUG, " NS%d local_port=%d\n", i, info_ind->local_port[i]);
- LOGP(DL1IF, LOGL_DEBUG, " NS%d remote_port=%d\n", i, info_ind->remote_port[i]);
+ LOGP(DL1IF, LOGL_DEBUG, " NS%u nsvci=%u\n", i, info_ind->nsvci[i]);
+ LOGP(DL1IF, LOGL_DEBUG, " NS%u local_port=%u\n", i, info_ind->local_port[i]);
+ LOGP(DL1IF, LOGL_DEBUG, " NS%u remote_port=%u\n", i, info_ind->remote_port[i]);
if (osmo_sockaddr_str_from_sockaddr(&sockstr, &remote_sockaddr.u.sas))
strcpy(sockstr.ip, "invalid");
- LOGP(DL1IF, LOGL_DEBUG, " NS%d remote_ip=%s\n", i, sockstr.ip);
+ LOGP(DL1IF, LOGL_DEBUG, " NS%u remote_ip=%s\n", i, sockstr.ip);
rc = gprs_nsvc_create_and_connect(bts,
&local_sockaddr, &remote_sockaddr,
info_ind->nsei, info_ind->nsvci[i]);
if (rc) {
- LOGP(DL1IF, LOGL_ERROR, "Failed to create NSVC connection to %s:%d!\n",
+ LOGP(DL1IF, LOGL_ERROR, "Failed to create NSVC connection to %s:%u!\n",
sockstr.ip, sockstr.port);
continue;
}
--
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/20513
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: Ieb81dcb4096acbc7a308d003c9e653800071e149
Gerrit-Change-Number: 20513
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201009/f7a954a4/attachment.htm>