@@ -328,11 +328,11 @@ int mca_base_component_pvar_register (const mca_base_component_t *component, con
328
328
int bind , mca_base_pvar_flag_t flags , mca_base_get_value_fn_t get_value ,
329
329
mca_base_set_value_fn_t set_value , mca_base_notify_fn_t notify , void * ctx )
330
330
{
331
- /* XXX -- component_update -- We will stash the project name in the component */
332
331
/* invalidate this variable if the component's group is deregistered */
333
- return mca_base_pvar_register (NULL , component -> mca_type_name , component -> mca_component_name ,
334
- name , description , verbosity , var_class , type , enumerator , bind ,
335
- flags | MCA_BASE_PVAR_FLAG_IWG , get_value , set_value , notify , ctx );
332
+ return mca_base_pvar_register (component -> mca_project_name , component -> mca_type_name ,
333
+ component -> mca_component_name , name , description , verbosity , var_class ,
334
+ type , enumerator , bind , flags | MCA_BASE_PVAR_FLAG_IWG , get_value ,
335
+ set_value , notify , ctx );
336
336
}
337
337
338
338
static int mca_base_pvar_get_internal (int index , mca_base_pvar_t * * pvar , bool invalidok )
0 commit comments