summaryrefslogtreecommitdiffstats
path: root/llvm/utils/FileUpdate
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/utils/FileUpdate')
-rw-r--r--llvm/utils/FileUpdate/FileUpdate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/FileUpdate/FileUpdate.cpp b/llvm/utils/FileUpdate/FileUpdate.cpp
index 8377aea79e8..2cf366fa55f 100644
--- a/llvm/utils/FileUpdate/FileUpdate.cpp
+++ b/llvm/utils/FileUpdate/FileUpdate.cpp
@@ -78,7 +78,7 @@ int main(int argc, char **argv) {
return 1;
}
- OutStream.write(In->getBufferStart(), In->getBufferSize());
+ OutStream.os().write(In->getBufferStart(), In->getBufferSize());
// Declare success.
OutStream.keep();
OpenPOWER on IntegriCloud