aboutsummaryrefslogtreecommitdiffstats
path: root/src/Mapper.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Mapper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mapper.cxx b/src/Mapper.cxx
index 559df0d23..40e762e4b 100644
--- a/src/Mapper.cxx
+++ b/src/Mapper.cxx
@@ -100,7 +100,7 @@ check_directory(const char *path_utf8, const Path &path_fs)
#endif
const DirectoryReader reader(path_fs);
- if (reader.Failed() && errno == EACCES)
+ if (reader.HasFailed() && errno == EACCES)
g_warning("No permission to read directory: %s", path_utf8);
}