commit | ccbb915fc0c7a8d6a1dc217f8369e223ab3fe812 | [log] [tgz] |
---|---|---|
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | Fri Dec 23 10:45:43 2016 +0100 |
committer | Tom Rini <trini@konsulko.com> | Tue Dec 27 11:24:18 2016 -0500 |
tree | 6e51686738504ad2ccda05ef4ff59f3d1b204c9b | |
parent | 0ad0b61df949cb661327e0793ca853a8b5ea137a [diff] |
disk: Fixed capacity message With capacities getting bigger, we can see see messages with negative numbers like "Capacity: 1907729.0 MB = 1863.0 GB (-387938128 x 512)". Here the printed LBA is -387938128 when it should have been 3907029168. To fix this, use the right format when displaying the unsigned integers. Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Reported-by: Yan Liu <yan-liu@ti.com>