summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-10-18 17:08:59 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-10-18 17:08:59 +0000
commit0e4f05d46881f2bb726eac3580ae783f62d45015 (patch)
tree0128596419c279154dcd8d457eea1d7c08539059 /perl-install/fsedit.pm
parentfe63f41573eaad71f256684c1c745333e4d42088 (diff)
downloaddrakx-backup-do-not-use-0e4f05d46881f2bb726eac3580ae783f62d45015.tar
drakx-backup-do-not-use-0e4f05d46881f2bb726eac3580ae783f62d45015.tar.gz
drakx-backup-do-not-use-0e4f05d46881f2bb726eac3580ae783f62d45015.tar.bz2
drakx-backup-do-not-use-0e4f05d46881f2bb726eac3580ae783f62d45015.tar.xz
drakx-backup-do-not-use-0e4f05d46881f2bb726eac3580ae783f62d45015.zip
no_comment
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 5954f3113..75e43eea2 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -192,7 +192,7 @@ sub removeFromList($$$) {
$end > $list->[$i + 1] and die $err;
if ($end == $list->[$i + 1]) {
#- the free block is just the same size, removing it
- splice(@$list, 0, 2);
+ splice(@$list, $i, 2);
} else {
#- the free block now start just after this block
$list->[$i] = $end;