diff options
Diffstat (limited to 'src/common/oml.c')
-rw-r--r-- | src/common/oml.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/common/oml.c b/src/common/oml.c index 7069377f..9d65d835 100644 --- a/src/common/oml.c +++ b/src/common/oml.c @@ -1241,7 +1241,10 @@ int down_oml(struct gsm_bts *bts, struct msgb *msg) static int handle_fail_sig(unsigned int subsys, unsigned int signal, void *handle, void *signal_data) { - oml_tx_failure_event_rep(handle, signal, "%s", signal_data); + if (signal_data) + oml_tx_failure_event_rep(handle, signal, "%s", signal_data); + else + oml_tx_failure_event_rep(handle, signal, ""); return 0; } |