afb-api-so: improve error messages
authorJosé Bollo <jose.bollo@iot.bzh>
Mon, 16 Oct 2017 14:53:26 +0000 (16:53 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Mon, 16 Oct 2017 14:53:26 +0000 (16:53 +0200)
Change-Id: I3bbf11890800a8b05c9cfaa8bd10b50a0b22c245
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/afb-api-so.c

index 2a0f9d6..acdb9b5 100644 (file)
@@ -71,7 +71,7 @@ static int load_binding(const char *path, int force, struct afb_apiset *apiset)
                if (force)
                        ERROR("binding [%s] not loadable: %s", path, dlerror());
                else
-                       INFO("binding [%s] not loadable: %s", path, dlerror());
+                       WARNING("binding [%s] not loadable: %s", path, dlerror());
                goto error;
        }