Change in openbsc[master]: chan_alloc: Print bts nr on chan alloc failure

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

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Wed May 30 10:46:43 UTC 2018


Pau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/9382


Change subject: chan_alloc: Print bts nr on chan alloc failure
......................................................................

chan_alloc: Print bts nr on chan alloc failure

Change-Id: I51bb656b5fef3247edc63477f391c954c4b28f56
---
M openbsc/src/libbsc/chan_alloc.c
1 file changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/82/9382/1

diff --git a/openbsc/src/libbsc/chan_alloc.c b/openbsc/src/libbsc/chan_alloc.c
index 52a8259..31a7055 100644
--- a/openbsc/src/libbsc/chan_alloc.c
+++ b/openbsc/src/libbsc/chan_alloc.c
@@ -362,7 +362,8 @@
 	} else {
 		struct challoc_signal_data sig;
 
-		LOGP(DRLL, LOGL_ERROR, "Failed to allocate %s channel\n",
+		LOGP(DRLL, LOGL_ERROR, "(bts=%d) Failed to allocate %s channel\n",
+		     gsm_ts_and_pchan_name(bts->nr),
 		     gsm_lchant_name(type));
 
 		sig.bts = bts;

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

Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I51bb656b5fef3247edc63477f391c954c4b28f56
Gerrit-Change-Number: 9382
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180530/0eecc544/attachment.htm>


More information about the gerrit-log mailing list