summaryrefslogtreecommitdiff
path: root/metaentry.c
diff options
context:
space:
mode:
Diffstat (limited to 'metaentry.c')
-rw-r--r--metaentry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/metaentry.c b/metaentry.c
index c06fd3d..a557a93 100644
--- a/metaentry.c
+++ b/metaentry.c
@@ -576,7 +576,7 @@ mentry_compare(struct metaentry *left, struct metaentry *right, bool do_mtime)
if ((left->mode & S_IFMT) != (right->mode & S_IFMT))
retval |= DIFF_TYPE;
- if (do_mtime && strcmp(left->path, METAFILE) &&
+ if (do_mtime && strcmp(left->path, metafile) &&
(left->mtime != right->mtime ||
left->mtimensec != right->mtimensec))
retval |= DIFF_MTIME;