From b2df46a676b8511523ab6859f5393680316e1b1f Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 24 Mar 2015 10:52:24 -0400 Subject: fix indent done separatly in order to have a better history for simplify then introducing new API --- perl-install/c/stuff.xs.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'perl-install/c') diff --git a/perl-install/c/stuff.xs.pl b/perl-install/c/stuff.xs.pl index d4d90ac16..631271a1e 100755 --- a/perl-install/c/stuff.xs.pl +++ b/perl-install/c/stuff.xs.pl @@ -613,15 +613,15 @@ get_disk_partitions(char * device_path) part = ped_disk_next_partition(disk, part); continue; } - char *path = ped_partition_get_path(part); + char *path = ped_partition_get_path(part); HV * rh = (HV *)sv_2mortal((SV *)newHV()); hv_store(rh, "part_number", 11, newSViv(part->num), 0); hv_store(rh, "real_device", 11, newSVpv(path, 0), 0); hv_store(rh, "start", 5, newSViv(part->geom.start), 0); hv_store(rh, "size", 4, newSViv(part->geom.length), 0); hv_store(rh, "pt_type", 7, newSViv(0xba), 0); - free(path); - if(part->fs_type) + free(path); + if(part->fs_type) hv_store(rh, "fs_type", 7, newSVpv(part->fs_type->name, 0), 0); PUSHs(newRV((SV *)rh)); part = ped_disk_next_partition(disk, part); -- cgit v1.2.1