Applied On Tue, 2019-08-20 at 09:58 +0200, Michał Lowas-Rzechonek wrote: > --- > mesh/mesh-io-generic.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/mesh/mesh-io-generic.c b/mesh/mesh-io-generic.c > index cc91f494e..42bf64a0b 100644 > --- a/mesh/mesh-io-generic.c > +++ b/mesh/mesh-io-generic.c > @@ -21,6 +21,8 @@ > #include <config.h> > #endif > > +#include <errno.h> > +#include <string.h> > #include <sys/time.h> > #include <ell/ell.h> > > @@ -285,7 +287,8 @@ static bool hci_init(struct mesh_io *io) > { > io->pvt->hci = bt_hci_new_user_channel(io->pvt->index); > if (!io->pvt->hci) { > - l_error("Failed to start mesh io (hci %u)", io->pvt->index); > + l_error("Failed to start mesh io (hci %u): %s", io->pvt->index, > + strerror(errno)); > return false; > } >