diff options
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 533bc35..131fd5a 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); |