Skip to content

Commit a5c91da

Browse files
Zhiming-Wanggpaulsen
authored andcommitted
Repace hard code by macro PACKAGE_NAME at ompi_info.
(cherry picked from commit fdb7b1375c322f096a43f532f4bd09cfc2c5ced4)
1 parent 2341623 commit a5c91da

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
@@ -103,8 +103,8 @@ int main(int argc, char *argv[])
103103
}
104104

105105
if (opal_cmd_line_is_taken(ompi_info_cmd_line, "version")) {
106-
fprintf(stdout, "Open MPI v%s\n\n%s\n",
107-
OPAL_VERSION, PACKAGE_BUGREPORT);
106+
fprintf(stdout, "%s v%s\n\n%s\n",
107+
PACKAGE_NAME, OPAL_VERSION, PACKAGE_BUGREPORT);
108108
exit(0);
109109
}
110110

0 commit comments

Comments
 (0)