[MERGED] osmo-bts[master]: Use error values instead of number for RSL error

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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Jun 22 23:24:21 UTC 2016


Harald Welte has submitted this change and it was merged.

Change subject: Use error values instead of number for RSL error
......................................................................


Use error values instead of number for RSL error

Change-Id: I0aa695c42a4399828fb8e9c08c905870175b7149
---
M src/common/rsl.c
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Holger Freyther: Looks good to me, approved



diff --git a/src/common/rsl.c b/src/common/rsl.c
index 224a41a..cf6cef8 100644
--- a/src/common/rsl.c
+++ b/src/common/rsl.c
@@ -1252,8 +1252,8 @@
 {
 	struct msgb *nmsg;
 
-	LOGP(DRSL, LOGL_NOTICE, "%s Sending RTP delete indication: cause=%d\n",
-		gsm_lchan_name(lchan), cause);
+	LOGP(DRSL, LOGL_NOTICE, "%s Sending RTP delete indication: cause = %s\n",
+	     gsm_lchan_name(lchan), rsl_err_name(cause));
 
 	nmsg = rsl_msgb_alloc(sizeof(struct abis_rsl_dchan_hdr));
 	if (!nmsg)

-- 
To view, visit https://gerrit.osmocom.org/404
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I0aa695c42a4399828fb8e9c08c905870175b7149
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Holger Freyther <holger at freyther.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list