aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/abis_rsl.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@netfilter.org>2009-12-12 20:53:23 +0100
committerHarald Welte <laforge@netfilter.org>2009-12-12 20:53:23 +0100
commit9e2748ed3a2e8fa3d2939d145129937da7bcf785 (patch)
treec633aedf14075a67dd9f83b570e18eee57893d32 /openbsc/src/abis_rsl.c
parent7322528ca1a331dc8cf404aae23aa8c2984a9190 (diff)
[RSL] print human-readable channel type during channel allocation failure
Diffstat (limited to 'openbsc/src/abis_rsl.c')
-rw-r--r--openbsc/src/abis_rsl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/abis_rsl.c b/openbsc/src/abis_rsl.c
index d5c883e57..c6675c840 100644
--- a/openbsc/src/abis_rsl.c
+++ b/openbsc/src/abis_rsl.c
@@ -1236,8 +1236,8 @@ static int rsl_rx_chan_rqd(struct msgb *msg)
/* check availability / allocate channel */
lchan = lchan_alloc(bts, lctype);
if (!lchan) {
- DEBUGP(DRSL, "CHAN RQD: no resources for %u 0x%x\n",
- lctype, rqd_ref->ra);
+ DEBUGP(DRSL, "CHAN RQD: no resources for %s 0x%x\n",
+ gsm_lchan_name(lctype), rqd_ref->ra);
/* FIXME: send some kind of reject ?!? */
return -ENOMEM;
}