diff --git a/opal/util/show_help.c b/opal/util/show_help.c index 2f3fccc381..810123c27e 100644 --- a/opal/util/show_help.c +++ b/opal/util/show_help.c @@ -248,7 +248,7 @@ static int output(bool want_error_header, char **lines, { int i, count; size_t len; - char *concat, *formatted; + char *concat; /* See how much space we need */ @@ -290,16 +290,10 @@ static int output(bool want_error_header, char **lines, } /* Apply formatting */ - - vasprintf(&formatted, concat, arglist); - - /* Print it out */ - - fprintf(stderr, formatted); + vfprintf( stderr, concat, arglist ); /* All done */ - free(formatted); free(concat); return OMPI_SUCCESS; }