Fix typo that breaks FileSystem::IsLocal

llvm-svn: 230312
This commit is contained in:
Vince Harron 2015-02-24 05:24:12 +00:00
parent 294aeb9a40
commit f7839220ee
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ FileSystem::IsLocal(const FileSpec &spec)
{
struct statfs statfs_info;
std::string path (spec.GetPath());
if (statfs(path.c_str(), &statfs_info) != 0)
if (statfs(path.c_str(), &statfs_info) == 0)
return ::IsLocal(statfs_info);
return false;
}