1
1

Minor cleanups

This commit was SVN r25289.
This commit is contained in:
Ralph Castain 2011-10-14 18:46:03 +00:00
parent 89a20de474
commit f1a5a26ba0
2 changed files with 2 additions and 3 deletions

View File

@ -33,7 +33,6 @@
#include "opal/util/error.h"
#include "opal/util/output.h"
#include "opal/util/opal_sos.h"
#include "opal/runtime/opal.h"
#include "orte/util/show_help.h"
@ -148,7 +147,7 @@ int orte_init(int* pargc, char*** pargv, orte_proc_type_t flags)
return ORTE_SUCCESS;
error:
if (ORTE_ERR_SILENT != OPAL_SOS_GET_ERROR_CODE(ret)) {
if (ORTE_ERR_SILENT != ret) {
orte_show_help("help-orte-runtime",
"orte_init:startup:internal-failure",
true, error, ORTE_ERROR_NAME(ret), ret);

View File

@ -235,7 +235,7 @@ static void dump_aborted_procs(void)
orte_basename);
return;
}
switch (OPAL_SOS_GET_ERROR_CODE(proc->exit_code)) {
switch (proc->exit_code) {
case ORTE_ERR_SYS_LIMITS_PIPES:
orte_show_help("help-orterun.txt", "orterun:sys-limit-pipe", true,
orte_basename, proc->node->name,