diff options
| author | Pavel Labath <labath@google.com> | 2017-07-03 11:01:49 +0000 |
|---|---|---|
| committer | Pavel Labath <labath@google.com> | 2017-07-03 11:01:49 +0000 |
| commit | 9bf0e0362f2a1f431e56f8e313fb924ac083e16d (patch) | |
| tree | 03e10ebf2880a2d68b41c9136ae3204a25f80555 | |
| parent | be79ca8111104870564b7427d0c5d99a5592d1bb (diff) | |
| download | bcm5719-llvm-9bf0e0362f2a1f431e56f8e313fb924ac083e16d.tar.gz bcm5719-llvm-9bf0e0362f2a1f431e56f8e313fb924ac083e16d.zip | |
Fix typo/unbreak windows build broken by r307009
llvm-svn: 307018
| -rw-r--r-- | lldb/source/Host/common/File.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Host/common/File.cpp b/lldb/source/Host/common/File.cpp index 38cbb78f150..90a4462c6ca 100644 --- a/lldb/source/Host/common/File.cpp +++ b/lldb/source/Host/common/File.cpp @@ -164,7 +164,7 @@ static int DoOpen(const char *path, int flags, int mode) { if (!llvm::ConvertUTF8toWide(path, wpath)) return -1; int result; - ::_wsopen_s(&result, wpath.c_str(), oflag, _SH_DENYNO, mode); + ::_wsopen_s(&result, wpath.c_str(), flags, _SH_DENYNO, mode); return result; #else return ::open(path, flags, mode); |

