summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r--perl-install/fsedit.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index 1ece4a756..05eec0a60 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -560,7 +560,7 @@ sub allocatePartitions {
my $part;
while (suggest_part($part = { start => $start, size => 0, maxsize => $size, rootDevice => $dev },
$all_hds, $to_add)) {
- my ($hd) = fsedit::part2hd($part, $all_hds);
+ my $hd = fsedit::part2hd($part, $all_hds);
add($hd, $part, $all_hds);
$size -= $part->{size} + $part->{start} - $start;
$start = $part->{start} + $part->{size};