aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2021-07-20 22:15:00 +0200
committerAlexander Couzens <lynxis@fe80.eu>2021-08-06 20:06:14 +0200
commita65731ede5f822cd101d97b66b6c1fe9696ed156 (patch)
treea6b82e34fb558d7d4c98a2f82e352e4d6c212cf3
parent6d5be770d4cb9e7cf45ed60bc6f225c2234cd69d (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 1801b166..6773cef6 100644
--- a/src/gb/gprs_ns2_sns.c
+++ b/src/gb/gprs_ns2_sns.c
@@ -194,7 +194,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)