From 4c410086576362fa342cb6b5e54d4ee1175eca12 Mon Sep 17 00:00:00 2001 From: kailixu Date: Tue, 18 Jun 2024 19:11:33 +0800 Subject: [PATCH] fix: print format --- source/libs/tfs/src/tfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libs/tfs/src/tfs.c b/source/libs/tfs/src/tfs.c index 4110652f6f..97feee7d9a 100644 --- a/source/libs/tfs/src/tfs.c +++ b/source/libs/tfs/src/tfs.c @@ -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; }