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

Change subject: chan_alloc: Fix crash when failing to allocate channel
......................................................................

chan_alloc: Fix crash when failing to allocate channel

Fix a really silly bug I introduced recently (same commit in
osmo-bsc.git doesn't contain the issue).

Fixes: d05d05b2773a1dc96a51104034942d504f2b1166
Related: SYS#4254
Change-Id: I7bac2ce001d4a6dcea2a896af30edf84942b68de
---
M openbsc/src/libbsc/chan_alloc.c
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/openbsc/src/libbsc/chan_alloc.c b/openbsc/src/libbsc/chan_alloc.c
index 97c1902..606dfa7 100644
--- a/openbsc/src/libbsc/chan_alloc.c
+++ b/openbsc/src/libbsc/chan_alloc.c
@@ -363,7 +363,7 @@
                struct challoc_signal_data sig;

                LOGP(DRLL, LOGL_ERROR, "(bts=%d) Failed to allocate %s 
channel\n",
-                    gsm_ts_and_pchan_name(bts->nr), gsm_lchant_name(type));
+                    bts->nr, gsm_lchant_name(type));

                sig.bts = bts;
                sig.type = type;

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

Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I7bac2ce001d4a6dcea2a896af30edf84942b68de
Gerrit-Change-Number: 9596
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pes...@sysmocom.de>
Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org>
Gerrit-Reviewer: Jenkins Builder

Reply via email to