aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-05-30 12:46:37 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-05-30 12:49:05 +0200
commitd05d05b2773a1dc96a51104034942d504f2b1166 (patch)
tree2f393d20cc9f5106a2c7b23bfbe4948de8087099
parent86c3c9efcc2a81df03a31274a3e189f4841208c7 (diff)
chan_alloc: Print bts nr on chan alloc failure
-rw-r--r--openbsc/src/libbsc/chan_alloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/libbsc/chan_alloc.c b/openbsc/src/libbsc/chan_alloc.c
index 52a8259dd..97c19026a 100644
--- a/openbsc/src/libbsc/chan_alloc.c
+++ b/openbsc/src/libbsc/chan_alloc.c
@@ -362,8 +362,8 @@ struct gsm_lchan *lchan_alloc(struct gsm_bts *bts, enum gsm_chan_t type,
} 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;