mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
Fix size reporting for disks without partitions.
* src/parthelper.c: Patch from Cole Robinson, fix size reporting for disks without partitions. Daniel
This commit is contained in:
parent
4240b3fd63
commit
ace1b6bf98
@ -1,3 +1,8 @@
|
||||
Wed Aug 20 15:18:54 CEST 2008 Daniel Veillard <veillard@redhat.com>
|
||||
|
||||
* src/parthelper.c: Patch from Cole Robinson, fix size reporting for
|
||||
disks without partitions.
|
||||
|
||||
Wed Aug 20 15:11:57 CEST 2008 Daniel Veillard <veillard@redhat.com>
|
||||
|
||||
* configure.in libvirt.spec.in docs/Makefile.am: fix the problem
|
||||
|
@ -63,7 +63,7 @@ int main(int argc, char **argv)
|
||||
}
|
||||
|
||||
/* Get the first partition, and then iterate over all */
|
||||
part = ped_disk_get_partition(disk, 1);
|
||||
part = ped_disk_next_partition(disk, NULL);
|
||||
while (part) {
|
||||
const char *type;
|
||||
const char *content;
|
||||
|
Loading…
x
Reference in New Issue
Block a user