summaryrefslogtreecommitdiff
path: root/third_party/llvm-project/raw_ostream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/llvm-project/raw_ostream.cpp')
-rw-r--r--third_party/llvm-project/raw_ostream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/llvm-project/raw_ostream.cpp b/third_party/llvm-project/raw_ostream.cpp
index 63e0fcbf1..5dd0f4ec1 100644
--- a/third_party/llvm-project/raw_ostream.cpp
+++ b/third_party/llvm-project/raw_ostream.cpp
@@ -523,7 +523,7 @@ static int getFD(StringRef Filename, std::error_code &EC,
sys::fs::CreationDisposition Disp, sys::fs::FileAccess Access,
sys::fs::OpenFlags Flags) {
// XXX BINARYEN - we only ever use IO from LLVM to log to stdout
- return ::fileno(stdout);
+ return fileno(stdout);
}
raw_fd_ostream::raw_fd_ostream(StringRef Filename, std::error_code &EC)