gprs_ns2: add correct filename/linenr to sns failed log message

Change-Id: I117eaf8340fca50cb14392a3f05ea8feac1af3ed
This commit is contained in:
Alexander Couzens 2021-07-20 22:15:00 +02:00
parent 616a949456
commit b0874cdf97
1 changed files with 1 additions and 1 deletions

View File

@ -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)