5 Feb
2016
5 Feb
'16
6:11 p.m.
On Fri, Feb 05, 2016 at 06:08:59PM +0000, Richard W.M. Jones wrote:
+ int partnum = guestfs_part_to_partnum (g, fs_dev);
Need to check that partnum != -1 and do something.
+ CLEANUP_FREE char *device = guestfs_part_to_dev (g, fs_dev); + CLEANUP_FREE char *type = guestfs_part_get_parttype (g, device);
And actually these ones need to be checked as well. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html