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

Max gerrit-no-reply at lists.osmocom.org
Fri Nov 16 19:14:44 UTC 2018


Max has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/12/11812/1

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: newchange
Gerrit-Change-Id: I18eb46743e4c0e4e8f8032883f39fec355f03c78
Gerrit-Change-Number: 11812
Gerrit-PatchSet: 1
Gerrit-Owner: Max <msuraev at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181116/8ccc6421/attachment-0001.html>


More information about the gerrit-log mailing list