summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/fsm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fsm.c b/src/fsm.c
index 8675f75d..c9902ae7 100644
--- a/src/fsm.c
+++ b/src/fsm.c
@@ -384,8 +384,9 @@ int _osmo_fsm_inst_dispatch(struct osmo_fsm_inst *fi, uint32_t event, void *data
const struct osmo_fsm_state *fs;
if (!fi) {
- LOGP(DLGLOBAL, LOGL_ERROR, "Trying to dispatch event %u to "
- "non-existing FSM Instance!\n", event);
+ LOGPSRC(DLGLOBAL, LOGL_ERROR, file, line,
+ "Trying to dispatch event %u to non-existent"
+ " FSM instance!\n", event);
osmo_log_backtrace(DLGLOBAL, LOGL_ERROR);
return -ENODEV;
}