diff options
| author | The Android Open Source Project <initial-contribution@android.com> | 2009-03-03 14:04:41 -0800 |
|---|---|---|
| committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-03 14:04:41 -0800 |
| commit | a1e1c1b106423de09bc918502e7a51d4ffe5a4ae (patch) | |
| tree | 47b158abbad9985ee83875e28ab9a8d85a9cf72e /vold/blkdev.c | |
| parent | c2d26a164fc19a6ce7cf6d0c691626bf4b5176f6 (diff) | |
| download | core-a1e1c1b106423de09bc918502e7a51d4ffe5a4ae.tar.gz core-a1e1c1b106423de09bc918502e7a51d4ffe5a4ae.tar.bz2 core-a1e1c1b106423de09bc918502e7a51d4ffe5a4ae.zip | |
auto import from //depot/cupcake/@132589
Diffstat (limited to 'vold/blkdev.c')
| -rw-r--r-- | vold/blkdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vold/blkdev.c b/vold/blkdev.c index 533bc35f2..131fd5a26 100644 --- a/vold/blkdev.c +++ b/vold/blkdev.c @@ -149,7 +149,7 @@ int blkdev_refresh(blkdev_t *blk) (blk->type == blkdev_disk ? "Disk" : "Partition"), blk->major, blk->minor, blk->nr_sec, - (uint32_t) (((uint64_t) blk->nr_sec * 512) / 1024) / 1024); + ((blk->nr_sec * 512) / 1024) / 1024); if (blk->type == blkdev_disk) sprintf(tmp2, " %d partitions", blk->nr_parts); |
