diff options
author | Fabien Proriol <Fabien.Proriol@jdsu.com> | 2014-11-07 13:46:28 +0000 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-11-12 11:11:33 -0800 |
commit | 08b243fb24c6b8b7bf0f31a102802a1927a1d4d7 (patch) | |
tree | b170d091f0b8ba69a870eee61ab7971f99e0e628 /nand-utils/nftl_format.c | |
parent | 594cde6b837361ab83917d43c0caa179b171db19 (diff) |
flashcp: Use %llu to print filestat.st_size
filestat.st_size type is off_t.
For some paltforms, off_t can be 32 or 64bit but there is no C99 format specifier for off_t.
The best way to print it with printf is to cast it to long long and print with %llu
Signed-off-by: Fabien Proriol <fabien.proriol@jdsu.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'nand-utils/nftl_format.c')
0 files changed, 0 insertions, 0 deletions