aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/osmobts_sock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osmobts_sock.c b/src/osmobts_sock.c
index c4a042fa..c77605fb 100644
--- a/src/osmobts_sock.c
+++ b/src/osmobts_sock.c
@@ -138,6 +138,7 @@ static int pcu_sock_read(struct osmo_fd *bfd)
if (rc < 0 && errno == EAGAIN)
return 0; /* Try again later */
if (rc <= 0) {
+ LOGP(DL1IF, LOGL_ERROR, "%s: recv() failed with rc=%d errno=%d\n", __func__, rc, errno);
pcu_sock_close(1);
return -EIO;
}