[RSL] print human-readable channel type during channel allocation failure
diff --git a/openbsc/src/abis_rsl.c b/openbsc/src/abis_rsl.c
index d5c883e..c6675c8 100644
--- a/openbsc/src/abis_rsl.c
+++ b/openbsc/src/abis_rsl.c
@@ -1236,8 +1236,8 @@
/* 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;
}