fs: zms: fix format string

Use %zu for size_t.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
This commit is contained in:
Tomi Fontanilles 2024-11-14 11:08:37 +02:00 committed by Fabio Baltieri
parent 45a54ba782
commit 9ef6788bd9

View file

@ -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 * 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) { 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); ZMS_MIN_ATE_NUM * fs->ate_size);
} }