summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-04-07 19:43:13 +0000
committerThierry Vignaud <tv@mageia.org>2012-04-07 19:43:13 +0000
commit640300cdee3d1044167d1577ac9f242111046bf7 (patch)
tree00ed6697ed01b7b1d96be41c38494f13a60f4377 /perl-install/partition_table
parent9ebcbec67a81d7e8318e79c2721ac26b0ec6ae22 (diff)
downloaddrakx-backup-do-not-use-640300cdee3d1044167d1577ac9f242111046bf7.tar
drakx-backup-do-not-use-640300cdee3d1044167d1577ac9f242111046bf7.tar.gz
drakx-backup-do-not-use-640300cdee3d1044167d1577ac9f242111046bf7.tar.bz2
drakx-backup-do-not-use-640300cdee3d1044167d1577ac9f242111046bf7.tar.xz
drakx-backup-do-not-use-640300cdee3d1044167d1577ac9f242111046bf7.zip
(read_one) better error message (more info)
Diffstat (limited to 'perl-install/partition_table')
-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 9c4c17e65..764fcf184 100644
--- a/perl-install/partition_table/gpt.pm
+++ b/perl-install/partition_table/gpt.pm
@@ -14,7 +14,7 @@ my $nb_primary = 128;
sub read_one {
my ($hd, $_sector) = @_;
- c::get_disk_type($hd->{file}) eq "gpt" or die "not a GPT disk";
+ c::get_disk_type($hd->{file}) eq "gpt" or die "$hd->{device} not a GPT disk ($hd->{file})";
my @pt;
foreach (c::get_disk_partitions($hd->{file})) {