aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2011-10-20 17:06:07 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2011-10-20 17:06:07 -0700
commit2d834a72e4dda31866fd20d09e0368c5d966a627 (patch)
tree960facc21916d901bcf4e2313405806b87b4741c
parente8104edd8468c409732e740c0eb5284805422314 (diff)
downloadkup-2d834a72e4dda31866fd20d09e0368c5d966a627.tar.gz
kup-2d834a72e4dda31866fd20d09e0368c5d966a627.tar.xz
kup-2d834a72e4dda31866fd20d09e0368c5d966a627.zip
kup-server: fix variable name typoskup-0.2
"prog" misspelled as "proc" Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
-rwxr-xr-xkup-server4
1 files changed, 2 insertions, 2 deletions
diff --git a/kup-server b/kup-server
index ca3bfbd..7e82307 100755
--- a/kup-server
+++ b/kup-server
@@ -391,10 +391,10 @@ sub get_blob($$@)
my $perc = int((($len-$left)*100)/$len);
if ($left == 0 ?
($prog_perc >= 0) : # Show 100% iff we already showed a progress bar
- ($now > $prog_time && $perc != $proc_perc)) {
+ ($now > $prog_time && $perc != $prog_perc)) {
printf STDERR "%10u [%-50s] %3u%%\r", $len, '=' x ($perc >> 1), $perc;
$prog_perc = $perc;
- $proc_time = $now;
+ $prog_time = $now;
}
}