aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2016-06-21 17:52:01 +0200
committerMax <msuraev@sysmocom.de>2016-06-21 17:52:01 +0200
commitf0d6d6ba02eb79c2b42d0755372b773684c1f7cf (patch)
treee3943794e4d77616e6ac47dd31d8d43d3c3a6f7b
parentdd084e6e57ee31ae260e8fc16d33e55cff0feeec (diff)
Use error values instead of number for RSL error
-rw-r--r--src/common/rsl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/rsl.c b/src/common/rsl.c
index 224a41a2..cf6cef8b 100644
--- a/src/common/rsl.c
+++ b/src/common/rsl.c
@@ -1252,8 +1252,8 @@ int rsl_tx_ipac_dlcx_ind(struct gsm_lchan *lchan, uint8_t cause)
{
struct msgb *nmsg;
- LOGP(DRSL, LOGL_NOTICE, "%s Sending RTP delete indication: cause=%d\n",
- gsm_lchan_name(lchan), cause);
+ LOGP(DRSL, LOGL_NOTICE, "%s Sending RTP delete indication: cause = %s\n",
+ gsm_lchan_name(lchan), rsl_err_name(cause));
nmsg = rsl_msgb_alloc(sizeof(struct abis_rsl_dchan_hdr));
if (!nmsg)