[rygel] More verbose output on module loading failure



commit 4b272b8520df7edf466de221f67d200dd49689a1
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Tue May 26 20:57:19 2009 +0300

    More verbose output on module loading failure
---
 src/rygel/rygel-plugin-loader.vala |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/rygel/rygel-plugin-loader.vala b/src/rygel/rygel-plugin-loader.vala
index 123b33e..973b681 100644
--- a/src/rygel/rygel-plugin-loader.vala
+++ b/src/rygel/rygel-plugin-loader.vala
@@ -150,7 +150,8 @@ public class Rygel.PluginLoader : Object {
 
         ModuleInitFunc module_init = (ModuleInitFunc) function;
         if (module_init == null) {
-            warning ("Failed to load module from path: '%s'\n", file_path);
+            warning ("Failed to find entry point function 'module_init'" +
+                     " in module loaded from path: '%s'\n", file_path);
 
             return;
         }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]