aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2021-07-20 22:15:00 +0200
committerAlexander Couzens <lynxis@fe80.eu>2021-09-04 01:26:28 +0200
commitb0874cdf9721d8fdb434af63e00f8f702133f6ee (patch)
tree552419d8c88ffa5f6a438cfc966ee6fdbf700a72
parent616a949456fdefa06bf26f1d12df720823bc43cc (diff)
gprs_ns2: add correct filename/linenr to sns failed log message
-rw-r--r--src/gb/gprs_ns2_sns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gb/gprs_ns2_sns.c b/src/gb/gprs_ns2_sns.c
index 281f908e..7a3729bd 100644
--- a/src/gb/gprs_ns2_sns.c
+++ b/src/gb/gprs_ns2_sns.c
@@ -199,7 +199,7 @@ static void _sns_failed(struct osmo_fsm_inst *fi, const char *reason, const char
struct ns2_sns_state *gss = fi->priv;
if (reason)
- LOGPFSML(fi, LOGL_ERROR, "NSE %d: SNS failed: %s\n", gss->nse->nsei, reason);
+ LOGPFSMLSRC(fi, LOGL_ERROR, file, line, "NSE %d: SNS failed: %s\n", gss->nse->nsei, reason);
if (gss->role == GPRS_SNS_ROLE_SGSN) {
if (!gss->nse->persistent)