Signed-off-by: Pekka Paalanen <[email protected]>
---
 src/compositor.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/compositor.c b/src/compositor.c
index 29490b5..573a7bb 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -3105,16 +3105,16 @@ load_module(const char *name, const char *entrypoint, 
void **handle)
        else
                snprintf(path, sizeof path, "%s", name);
 
+       weston_log("Loading module '%s'\n", path);
        module = dlopen(path, RTLD_LAZY);
        if (!module) {
-               weston_log("failed to load module '%s': %s\n", path, dlerror());
+               weston_log("Failed to load module: %s\n", dlerror());
                return NULL;
        }
 
        init = dlsym(module, entrypoint);
        if (!init) {
-               weston_log("failed to lookup init function in '%s': %s\n",
-                       path, dlerror());
+               weston_log("Failed to lookup init function: %s\n", dlerror());
                return NULL;
        }
 
-- 
1.7.3.4

_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to