summaryrefslogtreecommitdiff
path: root/check-files.c
diff options
context:
space:
mode:
Diffstat (limited to 'check-files.c')
-rw-r--r--check-files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/check-files.c b/check-files.c
index bfd5590e04..6fd69e79d6 100644
--- a/check-files.c
+++ b/check-files.c
@@ -31,7 +31,7 @@ static void check_file(const char *path)
if (lstat(path, &st) < 0)
die("lstat(%s): %s", path, strerror(errno));
- changed = cache_match_stat(ce, &st);
+ changed = ce_match_stat(ce, &st);
if (changed)
die("preparing to update file '%s' not uptodate in cache", path);
}