Skip to content

Commit 55774d1

Browse files
committed
mca/registry: fix problem group_component_register
Turns out that supplying NULL to group_register in the mca_base_var_group_component_register is not a good idea if one wants for ompi_info to work as intended. The ugni and vader btl's both call this before registering component variables. This borks up the ompi_info works since NULL is supplied as the project name. So, now supply the project name rather than just NULL to group register. Fixes #4020. Signed-off-by: Howard Pritchard <[email protected]>
1 parent 9b43de1 commit 55774d1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

opal/mca/base/mca_base_var_group.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,7 @@ int mca_base_var_group_register (const char *project_name, const char *framework
321321
int mca_base_var_group_component_register (const mca_base_component_t *component,
322322
const char *description)
323323
{
324-
/* 1.7 components do not store the project */
325-
return group_register (NULL, component->mca_type_name,
324+
return group_register (component->mca_project_name, component->mca_type_name,
326325
component->mca_component_name, description);
327326
}
328327

0 commit comments

Comments
 (0)