summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-01-07 14:55:13 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-01-07 14:55:13 +0000
commit363a685fd8eb8386e234d12fd6c591342d1060cd (patch)
tree11599945e6950534f6e523770856bf78259982a8
parent03f66977f7b027f42ee4c383185bc0eac51431c3 (diff)
downloaddrakx-backup-do-not-use-363a685fd8eb8386e234d12fd6c591342d1060cd.tar
drakx-backup-do-not-use-363a685fd8eb8386e234d12fd6c591342d1060cd.tar.gz
drakx-backup-do-not-use-363a685fd8eb8386e234d12fd6c591342d1060cd.tar.bz2
drakx-backup-do-not-use-363a685fd8eb8386e234d12fd6c591342d1060cd.tar.xz
drakx-backup-do-not-use-363a685fd8eb8386e234d12fd6c591342d1060cd.zip
*** empty log message ***
-rw-r--r--perl-install/partition_table_raw.pm3
1 files changed, 2 insertions, 1 deletions
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";