From bdfb889ddafb0944689cb4e62b44a7bf8b186fad Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Wed, 11 Aug 2004 21:51:52 +0000 Subject: [PATCH] Dont forget to set the pointer to the component !!! This commit was SVN r2075. --- src/mca/ptl/prof/ptl_prof_component.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mca/ptl/prof/ptl_prof_component.c b/src/mca/ptl/prof/ptl_prof_component.c index ef75db9d9d..1b90a62a03 100644 --- a/src/mca/ptl/prof/ptl_prof_component.c +++ b/src/mca/ptl/prof/ptl_prof_component.c @@ -91,6 +91,7 @@ static struct mca_ptl_base_module_t** ptl_prof_component_init_fn( *have_hidden_threads = false; ptl_array = (mca_ptl_prof_t**)malloc( (*num_ptls) * sizeof(mca_ptl_prof_t*) ); ptl_array[0] = &mca_ptl_prof; + mca_ptl_prof.super.ptl_component = (mca_ptl_base_component_t*)&mca_ptl_prof_component; mca_ptl_prof_component.prof_ptls = ptl_array; return (struct mca_ptl_base_module_t**)ptl_array; }