From: yangxx Date: Fri, 17 Oct 2003 14:56:27 +0000 (+0000) Subject: bug fixed: module dependence is wrong X-Git-Tag: v0.12.20~3176 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=86e73802a690fcfd694b581020d0932bda380e70;p=lttv.git bug fixed: module dependence is wrong git-svn-id: http://ltt.polymtl.ca/svn@313 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttv/module.c b/ltt/branches/poly/lttv/module.c index 7640f865..e225992a 100644 --- a/ltt/branches/poly/lttv/module.c +++ b/ltt/branches/poly/lttv/module.c @@ -169,7 +169,7 @@ lttv_module_require(LttvModule *m, const char *name, int argc, char **argv) g_info("Load module %s, as %s is a dependent requiring it", name, g_module_name(m->module)); module = module_load(name, argc, argv); - if(module != NULL) g_ptr_array_add(m->dependents, module); + if(module != NULL) g_ptr_array_add(module->dependents, m); return module; }