Commit 16d5579b authored by Mike Hibler's avatar Mike Hibler
Browse files

Oops, forgot to initialize the start time for the swapout-progress function.

parent 45f997fd
......@@ -1644,8 +1644,10 @@ sub doSwapoutProgress($%)
my $ftime = $nstate->{'time'};
# XXX
$ftime = ($curtime - $mystate->{'_interval'})
if ($ftime == 0);
if ($ftime == 0) {
$ftime = ($curtime - $mystate->{'_interval'});
$nstate->{'time'} = $ftime;
}
#
# If no progress, see if we should timeout
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment