mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-17 06:33:21 +00:00
Fix a funny typo. Thanks to Aaron Ballman for noticing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186532 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e65b219edb
commit
c889c8fd0f
@ -1054,7 +1054,7 @@ error_code openFileForRead(const Twine &Name, int &ResultFD) {
|
||||
OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
|
||||
if (H == INVALID_HANDLE_VALUE) {
|
||||
error_code EC = windows_error(::GetLastError());
|
||||
// Provide a better error massage when trying to open directories.
|
||||
// Provide a better error message when trying to open directories.
|
||||
// This only runs if we failed to open the file, so there is probably
|
||||
// no performances issues.
|
||||
if (EC != windows_error::access_denied)
|
||||
|
Loading…
x
Reference in New Issue
Block a user