diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-04-07 19:43:13 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-04-07 19:43:13 +0000 |
commit | 4ba2c66d2c9d754aaa9f2c03ee1f2771f8edf32f (patch) | |
tree | 00ed6697ed01b7b1d96be41c38494f13a60f4377 | |
parent | 0b366c9c7b8de6fdd042c524d22a0d47ec8f248c (diff) | |
download | drakx-4ba2c66d2c9d754aaa9f2c03ee1f2771f8edf32f.tar drakx-4ba2c66d2c9d754aaa9f2c03ee1f2771f8edf32f.tar.gz drakx-4ba2c66d2c9d754aaa9f2c03ee1f2771f8edf32f.tar.bz2 drakx-4ba2c66d2c9d754aaa9f2c03ee1f2771f8edf32f.tar.xz drakx-4ba2c66d2c9d754aaa9f2c03ee1f2771f8edf32f.zip |
(read_one) better error message (more info)
-rw-r--r-- | perl-install/partition_table/gpt.pm | 2 |
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})) { |