diff options
author | Pekka Paalanen <ppaalanen@gmail.com> | 2012-06-11 14:06:04 +0300 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-06-11 09:48:02 -0400 |
commit | 1b3c1ea8806155334ec181c99b89792766c23919 (patch) | |
tree | cf6f0e1b12a4c80b66f2ed2b268644308139ebed | |
parent | 7f4d1a35343e28314aae2c0c7f03dad04a2d7e90 (diff) |
compositor: log module loading
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
-rw-r--r-- | src/compositor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compositor.c b/src/compositor.c index 313754b..6468e43 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -3113,16 +3113,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; } |