aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/main.c
diff options
context:
space:
mode:
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++;