diff options
Diffstat (limited to 'perl-install/devices.pm')
-rw-r--r-- | perl-install/devices.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/devices.pm b/perl-install/devices.pm index 8c45a41f7..496a593bc 100644 --- a/perl-install/devices.pm +++ b/perl-install/devices.pm @@ -24,7 +24,7 @@ sub size($) { my ($high, $mid); #- first find n where 2^n < size <= 2^n+1 - for ($high = 1; $high > 0 && &$valid_offset($high); $high *= 2) { $low = $high; } + for ($high = 1; $high > 0 && &$valid_offset($high); $high *= 2) { $low = $high } while ($low < $high - 1) { $mid = int ($low + $high) / 2; |