Skip to content
Commit 707a111c authored by Piotr Mienkowski's avatar Piotr Mienkowski Committed by Andrew Boie
Browse files

drivers: fix printf formatting in flash drivers



This commit fixes following issues in printf formatting used by flash
drivers:
- cast values of type off_t to long to remove warnings generated when
  compiling with Newlib.
- use 'z' modifier (as in "%zu") to print values of type size_t
- prefix all hex numbers with '0x'

Signed-off-by: default avatarPiotr Mienkowski <piotr.mienkowski@gmail.com>
parent ebcd6506
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment