From 2a2a9835cfe31a495020c79b0eeadbddb70f52ae Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Bollo?= Date: Thu, 17 Nov 2016 17:22:40 +0100 Subject: [PATCH] afb-api-so: adds verbosity on dlopen error MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: Ibe42a346c29e71b12d67ebbf43a6fc8152df8202 Signed-off-by: José Bollo --- src/afb-api-so.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/afb-api-so.c b/src/afb-api-so.c index da3c1322..ea7ffb1f 100644 --- a/src/afb-api-so.c +++ b/src/afb-api-so.c @@ -262,7 +262,7 @@ int afb_api_so_add_binding(const char *path) rc = 0; handle = dlopen(path, RTLD_NOW | RTLD_LOCAL); if (handle == NULL) { - ERROR("binding [%s] not loadable", path); + ERROR("binding [%s] not loadable: %s", path, dlerror()); goto error; } -- 2.16.6