fs: zms: fix format string
Use %zu for size_t. Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
This commit is contained in:
parent
45a54ba782
commit
9ef6788bd9
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue