Fix a bug where SetFilePermissions was calling MakeDirectory.

This appears to have been a copy / paste error.

llvm-svn: 215265
This commit is contained in:
Zachary Turner 2014-08-09 00:25:50 +00:00
parent 408d2152c4
commit 1cfb98abb2
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ Error
PlatformPOSIX::SetFilePermissions (const char *path, uint32_t file_permissions)
{
if (m_remote_platform_sp)
return m_remote_platform_sp->MakeDirectory(path, file_permissions);
return m_remote_platform_sp->SetFilePermissions(path, file_permissions);
else
return Platform::SetFilePermissions(path ,file_permissions);
}