fix(file/stat): fix atime

This commit is contained in:
Minglei Jin 2023-08-24 14:02:25 +08:00
parent c8456b650c
commit 0c768f5beb
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ int32_t taosStatFile(const char *path, int64_t *size, int32_t *mtime, int32_t *a
} }
if (atime != NULL) { if (atime != NULL) {
*atime = fileStat.st_mtime; *atime = fileStat.st_atime;
} }
return 0; return 0;