diff options
| author | Vince Harron <vharron@google.com> | 2015-02-24 05:24:12 +0000 |
|---|---|---|
| committer | Vince Harron <vharron@google.com> | 2015-02-24 05:24:12 +0000 |
| commit | f7839220ee6d4fe300a615597086dd1338865d3f (patch) | |
| tree | 0f00b4c2cdf2a212631432e66c895ea0a06e33f4 /lldb | |
| parent | 294aeb9a408d32298fbc18d1d91653cfc954309b (diff) | |
| download | bcm5719-llvm-f7839220ee6d4fe300a615597086dd1338865d3f.tar.gz bcm5719-llvm-f7839220ee6d4fe300a615597086dd1338865d3f.zip | |
Fix typo that breaks FileSystem::IsLocal
llvm-svn: 230312
Diffstat (limited to 'lldb')
| -rw-r--r-- | lldb/source/Host/posix/FileSystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Host/posix/FileSystem.cpp b/lldb/source/Host/posix/FileSystem.cpp index ee41b0cfba0..a78c628615c 100644 --- a/lldb/source/Host/posix/FileSystem.cpp +++ b/lldb/source/Host/posix/FileSystem.cpp @@ -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; } |

