Skip to content

Commit facd6d6

Browse files
authored
Merge pull request #3563 from jjhursey/fix/opal-stderr
opal/stacktrace: Fix stderr target for opal_stacktrace_output
2 parents 13bd776 + fce28c3 commit facd6d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opal/util/stacktrace.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ int opal_util_register_stackhandlers (void)
543543
opal_stacktrace_output_fileno = fileno(stdout);
544544
}
545545
else if( 0 == strcasecmp(opal_stacktrace_output_filename, "stderr") ) {
546-
opal_stacktrace_output_fileno = fileno(stdout);
546+
opal_stacktrace_output_fileno = fileno(stderr);
547547
}
548548
else if( 0 == strcasecmp(opal_stacktrace_output_filename, "file" ) ||
549549
0 == strcasecmp(opal_stacktrace_output_filename, "file:") ) {

0 commit comments

Comments
 (0)