summaryrefslogtreecommitdiff
path: root/ubi-utils/mtdinfo.c
diff options
context:
space:
mode:
authorFabien Proriol <Fabien.Proriol@jdsu.com>2014-11-07 13:46:28 +0000
committerBrian Norris <computersforpeace@gmail.com>2015-11-12 11:11:33 -0800
commit08b243fb24c6b8b7bf0f31a102802a1927a1d4d7 (patch)
treeb170d091f0b8ba69a870eee61ab7971f99e0e628 /ubi-utils/mtdinfo.c
parent594cde6b837361ab83917d43c0caa179b171db19 (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 'ubi-utils/mtdinfo.c')
0 files changed, 0 insertions, 0 deletions