mirror of https://gerrit.osmocom.org/libosmocore
gprs_ns2: add correct filename/linenr to sns failed log message
Change-Id: I117eaf8340fca50cb14392a3f05ea8feac1af3ed
This commit is contained in:
parent
616a949456
commit
b0874cdf97
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue