1
1

Move the sos_init() after the initialization of opal_show_help.

I was getting a funny segv if the param_register failed, and show_help was not initialized yet.

This commit was SVN r23177.
Этот коммит содержится в:
Josh Hursey 2010-05-19 20:47:05 +00:00
родитель 77532c9f44
Коммит 71fa89aca5

Просмотреть файл

@ -224,9 +224,6 @@ opal_init_util(int* pargc, char*** pargv)
/* initialize the memory allocator */
opal_malloc_init();
/* initialize the OPAL SOS system */
opal_sos_init();
/* initialize the output system */
opal_output_init();
@ -240,6 +237,9 @@ opal_init_util(int* pargc, char*** pargv)
/* initialize the help system */
opal_show_help_init();
/* initialize the OPAL SOS system */
opal_sos_init();
/* register handler for errnum -> string converstion */
if (OPAL_SUCCESS !=
(ret = opal_error_register("OPAL",