Skip to content

Commit 252b6bf

Browse files
authored
Merge pull request #9248 from awlauria/use_package_name
ompi_info: Replace hard-coded 'Open MPI' with PACKAGE_NAME.
2 parents 9989374 + d483e3e commit 252b6bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ompi/tools/ompi_info/ompi_info.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ int main(int argc, char *argv[])
9696
}
9797

9898
if (opal_cmd_line_is_taken(ompi_info_cmd_line, "version")) {
99-
fprintf(stdout, "Open MPI v%s\n\n%s\n",
100-
OPAL_VERSION, PACKAGE_BUGREPORT);
99+
fprintf(stdout, "%s v%s\n\n%s\n",
100+
PACKAGE_NAME, OPAL_VERSION, PACKAGE_BUGREPORT);
101101
exit(0);
102102
}
103103

0 commit comments

Comments
 (0)