[llvm] 1df373a - [SystemZ][z/OS] Fix STDOUT to STDERR
via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 14 06:01:46 PST 2023
Author: Abhina Sree
Date: 2023-12-14T09:01:44-05:00
New Revision: 1df373af1e810914a0339cd49e83bba0c0077e73
URL: https://github.com/llvm/llvm-project/commit/1df373af1e810914a0339cd49e83bba0c0077e73
DIFF: https://github.com/llvm/llvm-project/commit/1df373af1e810914a0339cd49e83bba0c0077e73.diff
LOG: [SystemZ][z/OS] Fix STDOUT to STDERR
Fix a typo from STDOUT to STDERR
Added:
Modified:
llvm/lib/Support/raw_ostream.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Support/raw_ostream.cpp b/llvm/lib/Support/raw_ostream.cpp
index b93246e912d540..28ab85d4344c30 100644
--- a/llvm/lib/Support/raw_ostream.cpp
+++ b/llvm/lib/Support/raw_ostream.cpp
@@ -922,7 +922,7 @@ raw_fd_ostream &llvm::outs() {
raw_fd_ostream &llvm::errs() {
// Set standard error to be unbuffered and tied to outs() by default.
#ifdef __MVS__
- std::error_code EC = enableAutoConversion(STDOUT_FILENO);
+ std::error_code EC = enableAutoConversion(STDERR_FILENO);
assert(!EC);
#endif
static raw_fd_ostream S(STDERR_FILENO, false, true);
More information about the llvm-commits
mailing list