diff --git a/src/osmobts_sock.cpp b/src/osmobts_sock.cpp index 31715d50..577d41eb 100644 --- a/src/osmobts_sock.cpp +++ b/src/osmobts_sock.cpp @@ -263,7 +263,8 @@ int pcu_l1if_open(void) rc = connect(bfd->fd, (struct sockaddr *) &local, namelen); if (rc != 0) { LOGP(DL1IF, LOGL_ERROR, "Failed to connect to the osmo-bts" - " PCU socket, delaying... '%s'\n", local.sun_path); + " PCU socket (%s), delaying... '%s'\n", + strerror(errno), local.sun_path); pcu_sock_state = state; close(bfd->fd); bfd->fd = -1;