Skip to content

Commit

Permalink
fs: zms: fix format string
Browse files Browse the repository at this point in the history
Use %zu for size_t.

Signed-off-by: Tomi Fontanilles <[email protected]>
  • Loading branch information
tomi-font committed Nov 15, 2024
1 parent 5ff2826 commit ec6f856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subsys/fs/zms/zms.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit ec6f856

Please sign in to comment.