Skip to content

Commit 0c8f730

Browse files
authored
Merge pull request #3565 from jjhursey/fix/v3.x/opal-stderr
v3.0.x: opal/stacktrace: Fix stderr target for opal_stacktrace_output
2 parents ba8d879 + 6fd7ea9 commit 0c8f730

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opal/util/stacktrace.c

Lines changed: 1 addition & 1 deletion
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)