diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-05-30 12:46:37 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-05-30 12:49:05 +0200 |
commit | d05d05b2773a1dc96a51104034942d504f2b1166 (patch) | |
tree | 2f393d20cc9f5106a2c7b23bfbe4948de8087099 /openbsc | |
parent | 86c3c9efcc2a81df03a31274a3e189f4841208c7 (diff) |
chan_alloc: Print bts nr on chan alloc failure
Change-Id: I51bb656b5fef3247edc63477f391c954c4b28f56
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/libbsc/chan_alloc.c | 4 |
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; |