X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodule.c;h=a77aa736f5f372bb1557c0622ba480b6abf6b90a;hb=96cfe486b3d3bb3e42f7738cd0764a0838e00cba;hp=44ce77d0fef0cdd6d9897121015d496b1de37289;hpb=558aa01322f1af8be09fcfc086864da0373823c5;p=lttv.git diff --git a/ltt/branches/poly/lttv/module.c b/ltt/branches/poly/lttv/module.c index 44ce77d0..a77aa736 100644 --- a/ltt/branches/poly/lttv/module.c +++ b/ltt/branches/poly/lttv/module.c @@ -79,8 +79,8 @@ module_load(const char *name, int argc, char **argv) for(i = 0 ; i < modulesPaths->len ; i++) { pathname = g_module_build_path(modulesPaths->pdata[i],name); gm = g_module_open(pathname,G_MODULE_BIND_LAZY); - g_critical("module : %s", pathname); - g_critical("erreur : %s", g_module_error()); + g_critical("loading module : %s", pathname); + g_critical("module error : %s", g_module_error()); g_free(pathname); if(gm != NULL) break; @@ -91,13 +91,11 @@ module_load(const char *name, int argc, char **argv) if(gm == NULL) { pathname = g_module_build_path(NULL,name); gm = g_module_open(pathname,G_MODULE_BIND_LAZY); - g_critical("module : %s", pathname); + g_critical("loading module : %s", pathname); g_free(pathname); } /* Module cannot be found */ - if(gm==NULL) - g_critical("module est null"); if(gm == NULL) return NULL; /* Check if the module was already opened using the hopefully canonical name