summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table_dos.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/partition_table_dos.pm')
-rw-r--r--perl-install/partition_table_dos.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/partition_table_dos.pm b/perl-install/partition_table_dos.pm
index 00ee589b9..ced50826f 100644
--- a/perl-install/partition_table_dos.pm
+++ b/perl-install/partition_table_dos.pm
@@ -62,8 +62,8 @@ sub read {
} (1..$nb_primary);
#- check magic number
- sysread F, $tmp, length $magic or die "error reading magic number";
- $tmp eq $magic or die "bad magic number";
+ sysread F, $tmp, length $magic or die "error reading magic number on disk $hd->{device}";
+ $tmp eq $magic or die "bad magic number on disk $hd->{device}";
[ @pt ];
}