fix: print format

This commit is contained in:
kailixu 2024-06-18 19:11:33 +08:00
parent 6d2b8fe2bf
commit 4c41008657
1 changed files with 1 additions and 1 deletions

View File

@ -520,7 +520,7 @@ static int32_t tfsCheckAndFormatCfg(STfs *pTfs, SDiskCfg *pCfg) {
}
if (pCfg->primary < 0 || pCfg->primary > 1) {
fError("failed to mount %s to FS since invalid primary %" PRIi8, pCfg->dir, pCfg->primary);
fError("failed to mount %s to FS since invalid primary %d", pCfg->dir, pCfg->primary);
terrno = TSDB_CODE_FS_INVLD_CFG;
return -1;
}