summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/unittests/Support/LockFileManagerTest.cpp
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2019-01-27 16:42:12 +0000
committerpatrick <patrick@openbsd.org>2019-01-27 16:42:12 +0000
commitb773203fb58f3ef282fb69c832d8710cab5bc82d (patch)
treee75913f147570fbd75169647b144df85b88a038c /gnu/llvm/unittests/Support/LockFileManagerTest.cpp
parenttweak errno in previous (diff)
downloadwireguard-openbsd-b773203fb58f3ef282fb69c832d8710cab5bc82d.tar.xz
wireguard-openbsd-b773203fb58f3ef282fb69c832d8710cab5bc82d.zip
Import LLVM 7.0.1 release including clang, lld and lldb.
Diffstat (limited to 'gnu/llvm/unittests/Support/LockFileManagerTest.cpp')
-rw-r--r--gnu/llvm/unittests/Support/LockFileManagerTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/llvm/unittests/Support/LockFileManagerTest.cpp b/gnu/llvm/unittests/Support/LockFileManagerTest.cpp
index efe3c3088b3..1775d05e44d 100644
--- a/gnu/llvm/unittests/Support/LockFileManagerTest.cpp
+++ b/gnu/llvm/unittests/Support/LockFileManagerTest.cpp
@@ -60,7 +60,7 @@ TEST(LockFileManagerTest, LinkLockExists) {
sys::path::append(TmpFileLock, "file.lock-000");
int FD;
- EC = sys::fs::openFileForWrite(StringRef(TmpFileLock), FD, sys::fs::F_None);
+ EC = sys::fs::openFileForWrite(StringRef(TmpFileLock), FD);
ASSERT_FALSE(EC);
int Ret = close(FD);