aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-11-17 17:22:40 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2016-11-17 17:22:40 +0100
commit2a2a9835cfe31a495020c79b0eeadbddb70f52ae (patch)
tree67c76e27041f8e6573f79b55dce9605df18b4dbc
parentb4bd4b6af232439c1d5d7603d79c7a2628be4b10 (diff)
afb-api-so: adds verbosity on dlopen error
Change-Id: Ibe42a346c29e71b12d67ebbf43a6fc8152df8202 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r--src/afb-api-so.c2
1 files changed, 1 insertions, 1 deletions
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;
}