[U-Boot] fs/fat.c - file sizes incorrectly printed for files greater than 2G

12 Sep
2010
12 Sep
'10
9:09 p.m.
Fatls prints negative numbers for file sizes larger than 2GiB because the format statements where dentptr->size are referenced all use %ld rather than %lu formats. There appear to be four places in fs/fat.c where this occurs.
- Bill.

12 Sep
12 Sep
9:25 p.m.
Dear "William C. Landolina",
In message 657FC3AB549C7F4DB01F4397232ED7338F3CAF23E5@Exchange2007.techatl.com you wrote:
Fatls prints negative numbers for file sizes larger than 2GiB because the f ormat statements where dentptr->size are referenced all use %ld rather than %lu formats. There appear to be four places in fs/fat.c where this occurs
Thanks for catching this - can you please submit a proper patch?
Thanks.
And please restrict your line length to some 70 characters or so.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
"Maintain an awareness for contribution -- to your schedule, your
project, our company." - A Group of Employees
5351
Age (days ago)
5351
Last active (days ago)
1 comments
2 participants
participants (2)
-
William C. Landolina
-
Wolfgang Denk