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

William C. Landolina wcl at techatl.com
Sun Sep 12 21:09:11 CEST 2010


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.


More information about the U-Boot mailing list