tsdb/file-rw: fix log msg

This commit is contained in:
Minglei Jin 2023-10-30 19:28:18 +08:00
parent 800cbfbb05
commit 867ce92dcc
1 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@ static int32_t tsdbWriteFilePage(STsdbFD *pFD) {
} }
if (pFD->s3File) { if (pFD->s3File) {
tsdbWarn("%s file:%d", __func__, pFD->path); tsdbWarn("%s file: %s", __func__, pFD->path);
return code; return code;
} }
if (pFD->pgno > 0) { if (pFD->pgno > 0) {
@ -287,7 +287,7 @@ int32_t tsdbFsyncFile(STsdbFD *pFD) {
int32_t code = 0; int32_t code = 0;
if (pFD->s3File) { if (pFD->s3File) {
tsdbWarn("%s file:%d", __func__, pFD->path); tsdbWarn("%s file: %s", __func__, pFD->path);
return code; return code;
} }
code = tsdbWriteFilePage(pFD); code = tsdbWriteFilePage(pFD);