summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-02-25 12:33:38 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-02-25 12:33:38 +0000
commit32add8d1612f809a0185db584e0e3e9dd4794c8e (patch)
treea7464229010ff50cc29676772fc71485735c0bbc /perl-install/fsedit.pm
parent5cb4181c9d1488e4025a5358cea6f1e7fda862a9 (diff)
downloaddrakx-32add8d1612f809a0185db584e0e3e9dd4794c8e.tar
drakx-32add8d1612f809a0185db584e0e3e9dd4794c8e.tar.gz
drakx-32add8d1612f809a0185db584e0e3e9dd4794c8e.tar.bz2
drakx-32add8d1612f809a0185db584e0e3e9dd4794c8e.tar.xz
drakx-32add8d1612f809a0185db584e0e3e9dd4794c8e.zip
no_comment
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r--perl-install/fsedit.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index 7e8fcf862..8f23f1795 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -263,10 +263,9 @@ sub allocatePartitions($$) {
$part = { start => $start, size => 0, maxsize => $size },
$hds, $to_add)) {
add($hd, $part, $hds);
+ $size -= $part->{size} + $part->{start} - $start;
$start = $part->{start} + $part->{size};
- $size -= $part->{size};
}
- $start = $_->{start} + $_->{size};
}
}
}