From ec6f856722cb6a2e99dbebaabf7c801b0377cabf Mon Sep 17 00:00:00 2001 From: Tomi Fontanilles Date: Thu, 14 Nov 2024 11:08:37 +0200 Subject: [PATCH] fs: zms: fix format string Use %zu for size_t. Signed-off-by: Tomi Fontanilles --- subsys/fs/zms/zms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsys/fs/zms/zms.c b/subsys/fs/zms/zms.c index 57ac0ad52e01bd8..e00506dec4b4fb4 100644 --- a/subsys/fs/zms/zms.c +++ b/subsys/fs/zms/zms.c @@ -1362,7 +1362,7 @@ int zms_mount(struct zms_fs *fs) * 1 close ATE, 1 empty ATE, 1 GC done ATE, 1 Delete ATE, 1 ID/Value ATE */ if (fs->sector_size < ZMS_MIN_ATE_NUM * fs->ate_size) { - LOG_ERR("Invalid sector size, should be at least %u", + LOG_ERR("Invalid sector size, should be at least %zu", ZMS_MIN_ATE_NUM * fs->ate_size); }