Change in libosmocore[master]: gprs_ns2: add correct filename/linenr to sns failed log message

lynxis lazus gerrit-no-reply at lists.osmocom.org
Fri Aug 6 20:18:44 UTC 2021


lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/25149 )


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

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

Change-Id: I117eaf8340fca50cb14392a3f05ea8feac1af3ed
---
M src/gb/gprs_ns2_sns.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/49/25149/1

diff --git a/src/gb/gprs_ns2_sns.c b/src/gb/gprs_ns2_sns.c
index 1801b16..6773cef 100644
--- a/src/gb/gprs_ns2_sns.c
+++ b/src/gb/gprs_ns2_sns.c
@@ -194,7 +194,7 @@
 	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)

-- 
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/25149
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I117eaf8340fca50cb14392a3f05ea8feac1af3ed
Gerrit-Change-Number: 25149
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210806/147f4aff/attachment.htm>


More information about the gerrit-log mailing list