aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-01-20 19:32:30 +0100
committerHarald Welte <laforge@gnumonks.org>2016-02-15 14:27:08 +0100
commit4dd8bd84a4c2ab2018ee372dd235cb8a7e45e76d (patch)
treeada1002c5624c7d1757577d5e3ad6064b5f21752
parent8f0266b8855df7569a6b6a9a6e62b18e004de20d (diff)
LC15: Fix printed msgq file names in error messages
-rw-r--r--src/osmo-bts-litecell15/l1_transp_hw.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/osmo-bts-litecell15/l1_transp_hw.c b/src/osmo-bts-litecell15/l1_transp_hw.c
index 68e7e6bb..7e6cd687 100644
--- a/src/osmo-bts-litecell15/l1_transp_hw.c
+++ b/src/osmo-bts-litecell15/l1_transp_hw.c
@@ -255,8 +255,7 @@ int l1if_transport_open(int q, struct lc15l1_hdl *hdl)
rc = open(buf, O_RDONLY);
if (rc < 0) {
LOGP(DL1C, LOGL_FATAL, "unable to open msg_queue %s: %s\n",
- rd_devnames[q],
- strerror(errno));
+ buf, strerror(errno));
return rc;
}
read_ofd->fd = rc;
@@ -277,8 +276,7 @@ int l1if_transport_open(int q, struct lc15l1_hdl *hdl)
rc = open(buf, O_WRONLY);
if (rc < 0) {
LOGP(DL1C, LOGL_FATAL, "unable to open msg_queue %s: %s\n",
- wr_devnames[q],
- strerror(errno));
+ buf, strerror(errno));
goto out_read;
}
osmo_wqueue_init(wq, 10);