Skip to content
Browse files

fs: nvs: format specifier aligned with off_t type

Aligned format specifier for the off_t type in the NVS file system.

Signed-off-by: Kamil Piszczek <>
  • Loading branch information...
kapi-no authored and andrewboie committed Aug 6, 2019
1 parent 0923ae4 commit 159ad65c93a99f9323bee3aeb9930fc3414224af
Showing with 2 additions and 1 deletion.
  1. +2 −1 subsys/fs/nvs/nvs.c
@@ -235,7 +235,8 @@ static int nvs_flash_erase_sector(struct nvs_fs *fs, u32_t addr)
/* flash protection set error */
return rc;
LOG_DBG("Erasing flash at %zx, len %d", offset, fs->sector_size);
LOG_DBG("Erasing flash at %lx, len %d", (long int) offset,
rc = flash_erase(fs->flash_device, offset, fs->sector_size);
if (rc) {
/* flash erase error */

0 comments on commit 159ad65

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