summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table_bsd.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/partition_table_bsd.pm')
-rw-r--r--perl-install/partition_table_bsd.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/partition_table_bsd.pm b/perl-install/partition_table_bsd.pm
index cb6a8441e..aa9b9eb29 100644
--- a/perl-install/partition_table_bsd.pm
+++ b/perl-install/partition_table_bsd.pm
@@ -78,8 +78,8 @@ sub read($$) {
} $info{partitions} =~ /(.{$size})/g;
#- check magic number
- $info{magic} == $magic or die "bad magic number";
- $info{magic2} == $magic or die "bad magic number";
+ $info{magic} == $magic or die "bad magic number on disk $hd->{device}";
+ $info{magic2} == $magic or die "bad magic number on disk $hd->{device}";
[ @pt ], \%info;
}