From 363a685fd8eb8386e234d12fd6c591342d1060cd Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sun, 7 Jan 2001 14:55:13 +0000 Subject: *** empty log message *** --- perl-install/partition_table_raw.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install/partition_table_raw.pm') diff --git a/perl-install/partition_table_raw.pm b/perl-install/partition_table_raw.pm index 0b3ec41b5..aca8a114a 100644 --- a/perl-install/partition_table_raw.pm +++ b/perl-install/partition_table_raw.pm @@ -5,6 +5,7 @@ use strict; use common qw(:common :system :file :constant); use devices; +use log; use c; my @MBR_signatures = ( @@ -143,7 +144,7 @@ sub test_for_bad_drives { my $sector = $hd->{geom}{sectors} - 1; - local *F; partition_table_raw::openit($hd, *F, 2) or die "error opening device $hd->{device} for writing"; + local *F; openit($hd, *F, 2) or die "error opening device $hd->{device} for writing"; my $seek = sub { c::lseek_sector(fileno(F), $sector, 0) or die "seeking to sector $sector failed"; -- cgit v1.2.1