]> git.proxmox.com Git - qemu.git/commit
block/raw-posix: get right partition size
authorChristoph Egger <Christoph.Egger@amd.com>
Mon, 23 May 2011 12:31:17 +0000 (14:31 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 8 Jun 2011 09:56:39 +0000 (11:56 +0200)
commitd1f6fd8d1400ab356aee776b1ecc3ed1e89dbeaa
tree26e533f38b42ffc0174565b691faa7fd72e358ca
parent1de1ae0a7d956b3c87712bf2c09d277f99873f4c
block/raw-posix: get right partition size

use the correct way to get the size of a disk device or partition

From: Adam Hamsik <haad@netbsd.org>
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/raw-posix.c