summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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";
}