summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table/raw.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/partition_table/raw.pm')
-rw-r--r--perl-install/partition_table/raw.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/partition_table/raw.pm b/perl-install/partition_table/raw.pm
index 9d7fb5688..39a1ff026 100644
--- a/perl-install/partition_table/raw.pm
+++ b/perl-install/partition_table/raw.pm
@@ -109,8 +109,8 @@ sub get_geometry($) {
}
sub openit {
- my ($hd, $mode) = @_;
- my $F; sysopen($F, $hd->{file}, $mode || 0) and $F;
+ my ($hd, $o_mode) = @_;
+ my $F; sysopen($F, $hd->{file}, $o_mode || 0) and $F;
}
# cause kernel to re-read partition table