summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table/gpt.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-03-27 07:59:47 -0400
committerThomas Backlund <tmb@mageia.org>2015-03-27 22:32:57 +0159
commitcec8a8ea2a524a6f9e5ea42750b9f0f54df873ce (patch)
treedcda5865761364d1253982e89eab3f122258e669 /perl-install/partition_table/gpt.pm
parent675d2b62098dd84c35c37944a1e8bd65114c37a1 (diff)
downloaddrakx-cec8a8ea2a524a6f9e5ea42750b9f0f54df873ce.tar
drakx-cec8a8ea2a524a6f9e5ea42750b9f0f54df873ce.tar.gz
drakx-cec8a8ea2a524a6f9e5ea42750b9f0f54df873ce.tar.bz2
drakx-cec8a8ea2a524a6f9e5ea42750b9f0f54df873ce.tar.xz
drakx-cec8a8ea2a524a6f9e5ea42750b9f0f54df873ce.zip
log which type is unknown
Diffstat (limited to 'perl-install/partition_table/gpt.pm')
-rw-r--r--perl-install/partition_table/gpt.pm2
1 files changed, 1 insertions, 1 deletions
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}";