aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/main.c
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2019-03-15 12:08:05 +0100
committerHarald Welte <laforge@gnumonks.org>2019-03-27 11:10:57 +0000
commita5a03d6b355437df1d7c5213236b0096b12640af (patch)
tree1b8c6e87436519ff772cc3c5441cc6aee78d6e06 /src/common/main.c
parent891ba1568ad595c92bd885d417e34a78272f664f (diff)
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
Diffstat (limited to 'src/common/main.c')
-rw-r--r--src/common/main.c5
1 files changed, 3 insertions, 2 deletions
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++;