From b70ae8a2bb860ff6f534fbd9080e3755e880681e Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Tue, 17 May 2005 01:10:44 +0000 Subject: [PATCH] This one is pretty strange. The protoytpe is clear the 3th argument should be a bool. But it was a char* and icc didn't complain ... only gcc 4.1 ... This commit was SVN r5726. --- src/tools/orterun/orterun.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tools/orterun/orterun.c b/src/tools/orterun/orterun.c index e237b34849..bbec5d0d00 100644 --- a/src/tools/orterun/orterun.c +++ b/src/tools/orterun/orterun.c @@ -238,13 +238,13 @@ int main(int argc, char *argv[], char* env[]) /* This should never happen -- this case should be caught in create_app(), but let's just double check... */ ompi_show_help("help-orterun.txt", "orterun:nothing-to-do", - orterun_basename); + true, orterun_basename); exit(1); } apps = malloc(sizeof(orte_app_context_t *) * num_apps); if (NULL == apps) { ompi_show_help("help-orterun.txt", "orterun:syscall-failed", - orterun_basename, "malloc returned NULL", errno); + true, orterun_basename, "malloc returned NULL", errno); exit(1); } for (j = i = 0; i < num_apps; ++i) { @@ -255,7 +255,7 @@ int main(int argc, char *argv[], char* env[]) proc_infos = malloc(sizeof(struct proc_info_t) * j); if (NULL == proc_infos) { ompi_show_help("help-orterun.txt", "orterun:syscall-failed", - orterun_basename, "malloc returned NULL", errno); + true, orterun_basename, "malloc returned NULL", errno); exit(1); } for (i = 0; i < j; ++i) {