aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-12-05 13:55:51 +0100
committerMax <msuraev@sysmocom.de>2017-12-05 16:40:36 +0000
commit6f9d76e66c5b5c9ea2e850b524f8811289290d8b (patch)
tree88b5ff8511a85866e112790a58fb0909359aad85
parent5b70bb673d5857cc2208712d3bbab29fd650cb09 (diff)
Log filenames on L1 errors
-rw-r--r--src/osmo-bts-sysmo/l1_transp_hw.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/osmo-bts-sysmo/l1_transp_hw.c b/src/osmo-bts-sysmo/l1_transp_hw.c
index 9c0a514a..95e3119a 100644
--- a/src/osmo-bts-sysmo/l1_transp_hw.c
+++ b/src/osmo-bts-sysmo/l1_transp_hw.c
@@ -266,8 +266,8 @@ int l1if_transport_open(int q, struct femtol1_hdl *hdl)
rc = open(rd_devnames[q], O_RDONLY);
if (rc < 0) {
- LOGP(DL1C, LOGL_FATAL, "unable to open msg_queue: %s\n",
- strerror(errno));
+ LOGP(DL1C, LOGL_FATAL, "[%d] unable to open %s for reading: %s\n",
+ q, rd_devnames[q], strerror(errno));
return rc;
}
read_ofd->fd = rc;
@@ -284,8 +284,8 @@ int l1if_transport_open(int q, struct femtol1_hdl *hdl)
rc = open(wr_devnames[q], O_WRONLY);
if (rc < 0) {
- LOGP(DL1C, LOGL_FATAL, "unable to open msg_queue: %s\n",
- strerror(errno));
+ LOGP(DL1C, LOGL_FATAL, "[%d] unable to open %s for writing: %s\n",
+ q, wr_devnames[q], strerror(errno));
goto out_read;
}
osmo_wqueue_init(wq, 10);