From a5a03d6b355437df1d7c5213236b0096b12640af Mon Sep 17 00:00:00 2001 From: Philipp Maier Date: Fri, 15 Mar 2019 12:08:05 +0100 Subject: oml: use oml_tx_failure_event_rep() instead of oml_fail_rep() The function oml_tx_failure_event_rep() replaces oml_fail_rep(), so lets use only oml_tx_failure_event_rep() and remove oml_fail_rep() Change-Id: I83c4fa9ebd519299fd54b37b5d95d6d7c1da24f6 Related: OS#3843 --- src/common/main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/common/main.c') diff --git a/src/common/main.c b/src/common/main.c index 9575f57c..0d84c183 100644 --- a/src/common/main.c +++ b/src/common/main.c @@ -183,8 +183,9 @@ static void signal_handler(int signal) case SIGINT: case SIGTERM: if (!quit) { - oml_fail_rep(OSMO_EVT_CRIT_PROC_STOP, - "BTS: SIGINT received -> shutdown"); + oml_tx_failure_event_rep(&bts->mo, + OSMO_EVT_CRIT_PROC_STOP, + "BTS: SIGINT received -> shutdown"); bts_shutdown(bts, "SIGINT"); } quit++; -- cgit v1.2.3