summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/utils.c b/src/common/utils.c
index fd332253d..4d6d35c5c 100644
--- a/src/common/utils.c
+++ b/src/common/utils.c
@@ -316,7 +316,7 @@ bool HCache_check(const char *file) {
}
fstat(fileno(first), &bufa);
- fstat(fileno(first), &bufb);
+ fstat(fileno(second), &bufb);
fclose(first);
fclose(second);