fix: return length

This commit is contained in:
xsren 2024-09-10 19:36:20 +08:00
parent aea768d2c0
commit 79de2c52f4
1 changed files with 1 additions and 1 deletions

View File

@ -1213,7 +1213,7 @@ int64_t taosPReadFile(TdFilePtr pFile, void *buf, int64_t count, int64_t offset)
return -1; return -1;
} }
return 0; return ret;
} }
int32_t taosFsyncFile(TdFilePtr pFile) { int32_t taosFsyncFile(TdFilePtr pFile) {