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

Wolfgang Denk wd at denx.de
Sun Sep 12 21:25:18 CEST 2010


Dear "William C. Landolina",

In message <657FC3AB549C7F4DB01F4397232ED7338F3CAF23E5 at 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 at denx.de
"Maintain an awareness for contribution --  to  your  schedule,  your
project, our company."                         - A Group of Employees


More information about the U-Boot mailing list