commit | a1e1c1b106423de09bc918502e7a51d4ffe5a4ae | [log] [tgz] |
---|---|---|
author | The Android Open Source Project <initial-contribution@android.com> | Tue Mar 03 14:04:41 2009 -0800 |
committer | The Android Open Source Project <initial-contribution@android.com> | Tue Mar 03 14:04:41 2009 -0800 |
tree | 47b158abbad9985ee83875e28ab9a8d85a9cf72e | |
parent | c2d26a164fc19a6ce7cf6d0c691626bf4b5176f6 [diff] [blame] |
auto import from //depot/cupcake/@132589
diff --git a/vold/blkdev.c b/vold/blkdev.c index 533bc35..131fd5a 100644 --- a/vold/blkdev.c +++ b/vold/blkdev.c
@@ -149,7 +149,7 @@ (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);