Change in osmocom-bb[master]: mobile: log socket path on error

Max gerrit-no-reply at lists.osmocom.org
Mon Nov 19 09:17:10 UTC 2018


Max has submitted this change and it was merged. ( https://gerrit.osmocom.org/11812 )

Change subject: mobile: log socket path on error
......................................................................

mobile: log socket path on error

Change-Id: I18eb46743e4c0e4e8f8032883f39fec355f03c78
---
M src/host/layer23/src/mobile/app_mobile.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/host/layer23/src/mobile/app_mobile.c b/src/host/layer23/src/mobile/app_mobile.c
index b0e2a13..f53445a 100644
--- a/src/host/layer23/src/mobile/app_mobile.c
+++ b/src/host/layer23/src/mobile/app_mobile.c
@@ -213,7 +213,7 @@
 
 	rc = layer2_open(ms, ms->settings.layer2_socket_path);
 	if (rc < 0) {
-		LOGP(DMOB, LOGL_ERROR, "Failed during layer2_open()\n");
+		LOGP(DMOB, LOGL_ERROR, "Failed during layer2_open(%s)\n", ms->settings.layer2_socket_path);
 		ms->l2_wq.bfd.fd = -1;
 		mobile_exit(ms, 1);
 		return rc;

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

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I18eb46743e4c0e4e8f8032883f39fec355f03c78
Gerrit-Change-Number: 11812
Gerrit-PatchSet: 2
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181119/c0cea40f/attachment.html>


More information about the gerrit-log mailing list