This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Max gerrit-no-reply at lists.osmocom.orgMax has uploaded this change for review. ( https://gerrit.osmocom.org/11813
Change subject: osmocon: log error cause for socket opening
......................................................................
osmocon: log error cause for socket opening
Change-Id: I2f871cb16e5e1033e42863a9e12459057004782c
---
M src/host/osmocon/osmoload.c
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/13/11813/1
diff --git a/src/host/osmocon/osmoload.c b/src/host/osmocon/osmoload.c
index decdc13..d320b29 100644
--- a/src/host/osmocon/osmoload.c
+++ b/src/host/osmocon/osmoload.c
@@ -499,7 +499,8 @@
rc = osmo_sock_unix_init_ofd(conn, SOCK_STREAM, 0, socket_path, OSMO_SOCK_F_CONNECT);
if (rc < 0) {
- fprintf(stderr, "Failed to create unix domain socket %s\n", socket_path);
+ fprintf(stderr, "Failed to create unix domain socket %s: %s\n",
+ socket_path, strerror(-rc));
exit(1);
}
--
To view, visit https://gerrit.osmocom.org/11813
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: I2f871cb16e5e1033e42863a9e12459057004782c
Gerrit-Change-Number: 11813
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/9a46baca/attachment.htm>