diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-03-27 07:59:47 -0400 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2015-03-27 22:32:57 +0159 |
commit | cec8a8ea2a524a6f9e5ea42750b9f0f54df873ce (patch) | |
tree | dcda5865761364d1253982e89eab3f122258e669 | |
parent | 675d2b62098dd84c35c37944a1e8bd65114c37a1 (diff) | |
download | drakx-cec8a8ea2a524a6f9e5ea42750b9f0f54df873ce.tar drakx-cec8a8ea2a524a6f9e5ea42750b9f0f54df873ce.tar.gz drakx-cec8a8ea2a524a6f9e5ea42750b9f0f54df873ce.tar.bz2 drakx-cec8a8ea2a524a6f9e5ea42750b9f0f54df873ce.tar.xz drakx-cec8a8ea2a524a6f9e5ea42750b9f0f54df873ce.zip |
log which type is unknown
-rwxr-xr-x | perl-install/c/stuff.xs.pl | 2 | ||||
-rw-r--r-- | perl-install/partition_table/gpt.pm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/c/stuff.xs.pl b/perl-install/c/stuff.xs.pl index 7f12bcc26..9a983a493 100755 --- a/perl-install/c/stuff.xs.pl +++ b/perl-install/c/stuff.xs.pl @@ -127,7 +127,7 @@ PedPartitionFlag string_to_pedpartflag(char*type) { } else if (!strcmp(type, "RAID")) { flag = PED_PARTITION_RAID; } else { - printf("set_partition_flag: unknown type"); + printf("set_partition_flag: unknown type: %s\n", type); } return flag; } diff --git a/perl-install/partition_table/gpt.pm b/perl-install/partition_table/gpt.pm index 6b302017b..5dec99630 100644 --- a/perl-install/partition_table/gpt.pm +++ b/perl-install/partition_table/gpt.pm @@ -158,7 +158,7 @@ sub write { } if ($flag) { c::set_partition_flag($hd->{file}, $part_number, $flag) - or die "failed to set type for $part->{file} on $part->{mntpoint}"; + or die "failed to set type '$flag' for $part->{file} on $part->{mntpoint}"; } } elsif ($action eq 'del' && !$partitions_killed) { c::disk_del_partition($hd->{file}, $part_number) or die "failed to del partition #$part_number on $hd->{file}"; |