Commit 6b772f99 authored by Kamil Piszczek's avatar Kamil Piszczek Committed by Carles Cufi
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: default avatarKamil Piszczek <Kamil.Piszczek@nordicsemi.no>
parent a5327b00
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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 */