diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-06-13 12:38:54 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-06-13 12:42:24 +0200 |
commit | 28c4a62a7c1069ec257368230f62cf69e0da95a8 (patch) | |
tree | 7200e0559966ae824d7626da61d137e8cbd8a6e7 /openbsc | |
parent | d3e15ad21e06a1cf20af900b8ff7ffd4dba785c4 (diff) |
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
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/libbsc/chan_alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/libbsc/chan_alloc.c b/openbsc/src/libbsc/chan_alloc.c index 97c19026a..606dfa74c 100644 --- a/openbsc/src/libbsc/chan_alloc.c +++ b/openbsc/src/libbsc/chan_alloc.c @@ -363,7 +363,7 @@ struct gsm_lchan *lchan_alloc(struct gsm_bts *bts, enum gsm_chan_t type, 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; |