summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/BinaryFormat/TestFileMagic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/unittests/BinaryFormat/TestFileMagic.cpp')
-rw-r--r--llvm/unittests/BinaryFormat/TestFileMagic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/BinaryFormat/TestFileMagic.cpp b/llvm/unittests/BinaryFormat/TestFileMagic.cpp
index 22c26df3080..9ed707bb5b3 100644
--- a/llvm/unittests/BinaryFormat/TestFileMagic.cpp
+++ b/llvm/unittests/BinaryFormat/TestFileMagic.cpp
@@ -123,7 +123,7 @@ TEST_F(MagicTest, Magic) {
SmallString<128> file_pathname(TestDirectory);
llvm::sys::path::append(file_pathname, i->filename);
std::error_code EC;
- raw_fd_ostream file(file_pathname, EC, sys::fs::F_None);
+ raw_fd_ostream file(file_pathname, EC, sys::fs::OF_None);
ASSERT_FALSE(file.has_error());
StringRef magic(i->magic_str, i->magic_str_len);
file << magic;
OpenPOWER on IntegriCloud