Skip to content
Permalink
Browse files

fs: nvs: format specifier alignment

Aligned format specifiers for the NVS FS. Now, the format specifier
matches the variable type for qemu_x86 types.

Signed-off-by: Kamil Piszczek <Kamil.Piszczek@nordicsemi.no>
  • Loading branch information...
kapi-no authored and carlescufi committed Apr 25, 2019
1 parent a5327b0 commit 6b772f9994b36f9056a25a8d66f4413712b82fff
Showing with 1 addition and 2 deletions.
  1. +1 −2 subsys/fs/nvs/nvs.c
@@ -235,8 +235,7 @@ static int nvs_flash_erase_sector(struct nvs_fs *fs, u32_t addr)
/* flash protection set error */
return rc;
}
LOG_DBG("Erasing flash at %" PRIx32 ", len %d",
offset, fs->sector_size);
LOG_DBG("Erasing flash at %zx, len %d", offset, fs->sector_size);
rc = flash_erase(fs->flash_device, offset, fs->sector_size);
if (rc) {
/* flash erase error */

0 comments on commit 6b772f9

Please sign in to comment.
You can’t perform that action at this time.