Skip to content
Snippets Groups Projects
Commit 139f7b1d authored by Jean-Jacques Hiblot's avatar Jean-Jacques Hiblot Committed by Tom Rini
Browse files

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: default avatarJean-Jacques Hiblot <jjhiblot@ti.com>
Reported-by: default avatarYan Liu <yan-liu@ti.com>
parent c7c47ca2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment