Harald Welte has submitted this change and it was merged. ( 
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(+), 2 deletions(-)

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 52a8259..97c1902 100644
--- a/openbsc/src/libbsc/chan_alloc.c
+++ b/openbsc/src/libbsc/chan_alloc.c
@@ -362,8 +362,8 @@
        } else {
                struct challoc_signal_data sig;

-               LOGP(DRLL, LOGL_ERROR, "Failed to allocate %s channel\n",
-                    gsm_lchant_name(type));
+               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;
                sig.type = type;

-- 
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: merged
Gerrit-Change-Id: I51bb656b5fef3247edc63477f391c954c4b28f56
Gerrit-Change-Number: 9382
Gerrit-PatchSet: 2
Gerrit-Owner: Pau Espin Pedrol <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder

Reply via email to