summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-08-26 14:39:37 +0000
committerFrancois Pons <fpons@mandriva.com>2003-08-26 14:39:37 +0000
commit0d8ded1c64d5b47b09011a7fe36c41c2eeca2079 (patch)
tree37801e6db0502121de0a30433f4719aeab7af54a
parenta732b8fa6a7dcbdf3568efdd11f56714b0ea4536 (diff)
downloadurpmi-0d8ded1c64d5b47b09011a7fe36c41c2eeca2079.tar
urpmi-0d8ded1c64d5b47b09011a7fe36c41c2eeca2079.tar.gz
urpmi-0d8ded1c64d5b47b09011a7fe36c41c2eeca2079.tar.bz2
urpmi-0d8ded1c64d5b47b09011a7fe36c41c2eeca2079.tar.xz
urpmi-0d8ded1c64d5b47b09011a7fe36c41c2eeca2079.zip
fixed stupid typo.
-rw-r--r--urpm.pm2
-rwxr-xr-xurpmi2
2 files changed, 2 insertions, 2 deletions
diff --git a/urpm.pm b/urpm.pm
index a889a432..c9571252 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -395,7 +395,7 @@ sub sync_logger {
} else {
$text = N(" %s%% completed, speed = %s", $percent, $speed);
}
- print STDERR " " x (79 - length($text)) . "\r";
+ print STDERR $text, " " x (79 - length($text)), "\r";
} elsif ($mode eq 'end') {
print STDERR " " x 79, "\r";
}
diff --git a/urpmi b/urpmi
index 71e393bd..819774fe 100755
--- a/urpmi
+++ b/urpmi
@@ -571,7 +571,7 @@ foreach my $set (@{$state->{transaction} || []}) {
$text = N(" %s%% completed, speed = %s",
$percent, $speed);
}
- print SAVEERR " " x (79 - length($text)) . "\r";
+ print SAVEERR $text, " " x (79 - length($text)), "\r";
} elsif ($mode eq 'end') {
print SAVEERR " " x 79, "\r";
}