Skip to content

Commit 9ef6788

Browse files
tomi-fontfabiobaltieri
authored andcommitted
fs: zms: fix format string
Use %zu for size_t. Signed-off-by: Tomi Fontanilles <[email protected]>
1 parent 45a54ba commit 9ef6788

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/fs/zms/zms.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1362,7 +1362,7 @@ int zms_mount(struct zms_fs *fs)
13621362
* 1 close ATE, 1 empty ATE, 1 GC done ATE, 1 Delete ATE, 1 ID/Value ATE
13631363
*/
13641364
if (fs->sector_size < ZMS_MIN_ATE_NUM * fs->ate_size) {
1365-
LOG_ERR("Invalid sector size, should be at least %u",
1365+
LOG_ERR("Invalid sector size, should be at least %zu",
13661366
ZMS_MIN_ATE_NUM * fs->ate_size);
13671367
}
13681368

0 commit comments

Comments
 (0)