commit | 69a2a4d9a5884a6f2d04a551308980d452b9b349 | [log] [tgz] |
---|---|---|
author | Sergei Trofimovich <slyfox@gentoo.org> | Sun Aug 08 15:05:39 2010 +0300 |
committer | Wolfgang Denk <wd@denx.de> | Tue Aug 10 23:08:55 2010 +0200 |
tree | b2784e2ad2d08056a8bb904e42c2197c8070e176 | |
parent | b9d51fbb18097975ff86d3a7b4a21a92a1b345f0 [diff] |
disk/part.c: 'usb storage' avoiding overflow when output capacity Before: Marvell>> usb storage Device 0: Vendor: StoreJet Rev: Prod: Transcend Type: Hard Disk Capacity: 28759.9 MB = 28.0 GB (488397168 x 512) After: Marvell>> usb storage Device 0: Vendor: StoreJet Rev: Prod: Transcend Type: Hard Disk Capacity: 238475.1 MB = 232.8 GB (488397168 x 512) Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>