summaryrefslogtreecommitdiffstats
path: root/tools/gfind_missing_files/gcrawler.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfind_missing_files/gcrawler.c')
-rw-r--r--tools/gfind_missing_files/gcrawler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gfind_missing_files/gcrawler.c b/tools/gfind_missing_files/gcrawler.c
index 6be8e48364d..35772b51582 100644
--- a/tools/gfind_missing_files/gcrawler.c
+++ b/tools/gfind_missing_files/gcrawler.c
@@ -364,7 +364,7 @@ xworker_do_crawl (struct xwork *xwork, struct dirjob *job)
strcpy (gfid_path, slavemnt);
strcat (gfid_path, "/.gfid/");
strcat (gfid_path, result->d_name);
- ret = lstat (gfid_path, &statbuf);
+ ret = sys_lstat (gfid_path, &statbuf);
if (ret && errno == ENOENT) {
out ("%s\n", result->d_name);