diff options
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | 2016-12-23 10:45:43 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-12-27 11:24:18 -0500 |
commit | 139f7b1ded58366e8d328c1dd49bcbe1fc08b24c (patch) | |
tree | 6e51686738504ad2ccda05ef4ff59f3d1b204c9b /cmd/softswitch.c | |
parent | c7c47ca246205ca9c534230b0278507488c5cec3 (diff) | |
download | u-boot-imx-139f7b1ded58366e8d328c1dd49bcbe1fc08b24c.zip u-boot-imx-139f7b1ded58366e8d328c1dd49bcbe1fc08b24c.tar.gz u-boot-imx-139f7b1ded58366e8d328c1dd49bcbe1fc08b24c.tar.bz2 |
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>
Diffstat (limited to 'cmd/softswitch.c')
0 files changed, 0 insertions, 0 deletions