[libsocialweb] core: Tidy up module loading error message



commit c543591987d7dc4ac9b0d9afc37ef53a527a03e1
Author: Rob Bradford <rob linux intel com>
Date:   Wed Nov 9 15:09:13 2011 +0000

    core: Tidy up module loading error message

 libsocialweb/sw-core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libsocialweb/sw-core.c b/libsocialweb/sw-core.c
index 5c3824b..1e7b0e7 100644
--- a/libsocialweb/sw-core.c
+++ b/libsocialweb/sw-core.c
@@ -152,7 +152,7 @@ load_module (SwCore *core, const char *file)
 
     if (G_IS_INITABLE (service)) {
       if (!g_initable_init (G_INITABLE (service), NULL, &error)) {
-        g_message ("Cannot import %s: %s", service_name, error->message);
+        g_message (G_STRLOC ": Cannot load %s: %s", service_name, error->message);
         g_error_free (error);
         g_object_unref (service);
         return;



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