commit | 707a111ca8371289e40acdaa4d03019cead9c699 | [log] [tgz] |
---|---|---|
author | Piotr Mienkowski <piotr.mienkowski@gmail.com> | Sun Jul 28 18:57:11 2019 +0200 |
committer | Andrew Boie <andrewboie@gmail.com> | Thu Aug 01 11:33:17 2019 -0700 |
tree | d19ce1d072961c05ede7f1194fe84d5f6f8ddce3 | |
parent | ebcd6506fa5d23cb7ed7594db813855d1f653be5 [diff] |
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: Piotr Mienkowski <piotr.mienkowski@gmail.com>