aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/oml.c
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-09-05 13:22:18 +0200
committerMax <msuraev@sysmocom.de>2017-09-11 07:50:18 +0000
commitae134f896a77eb5b79c81601cabd821d5b993358 (patch)
treef28ed8d45c7e6cafaef8fae10857561cafb86c58 /src/common/oml.c
parentcb9f608094ea31b851b376504c585432340af888 (diff)
OML: print actual type of report sent to BSC
We re-use the same facility to send different data so it's better to print actual cause value to avoid confusion. Change-Id: I9413ecf57eaa6fc661f1a57ccdaa2f04c50ea43b
Diffstat (limited to 'src/common/oml.c')
-rw-r--r--src/common/oml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/oml.c b/src/common/oml.c
index 20f45e5f..69a26425 100644
--- a/src/common/oml.c
+++ b/src/common/oml.c
@@ -73,7 +73,7 @@ static int oml_tx_failure_event_rep(struct gsm_abis_mo *mo, uint16_t cause_value
struct msgb *nmsg;
va_list ap;
- LOGP(DOML, LOGL_NOTICE, "Reporting FAILURE to BSC: ");
+ LOGP(DOML, LOGL_NOTICE, "Sending %s to BSC: ", get_value_string(abis_mm_event_cause_names, cause_value));
va_start(ap, fmt);
osmo_vlogp(DOML, LOGL_NOTICE, __FILE__, __LINE__, 1, fmt, ap);
nmsg = abis_nm_fail_evt_vrep(NM_EVT_PROC_FAIL, NM_SEVER_CRITICAL,