[VFS] Fix an outdated commit of OpenFile that somehow slipped through.

This commit is contained in:
gibbed 2019-07-18 17:49:15 -05:00
parent 9a8d77137c
commit 0d3039f5ba
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ X_STATUS VirtualFileSystem::OpenFile(const std::string& path,
if (!entry) {
// Create if needed (either new or as a replacement).
entry = CreatePath(
path, !directory ? kFileAttributeNormal : kFileAttributeDirectory);
path, !is_directory ? kFileAttributeNormal : kFileAttributeDirectory);
if (!entry) {
return X_STATUS_ACCESS_DENIED;
}