summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/media.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/media.pm b/urpm/media.pm
index d0cbb3b7..ae4c9154 100644
--- a/urpm/media.pm
+++ b/urpm/media.pm
@@ -66,7 +66,7 @@ sub read_config_add_passwords {
if (my ($e) = grep { ($_->{default} || $_->{machine} eq $u->{machine}) && $_->{login} eq $u->{login} } @netrc) {
$_->{url} = sprintf('%s://%s:%s@%s%s', $u->{proto}, $u->{login}, $e->{password}, $u->{machine}, $u->{dir});
} else {
- $urpm->{log}("no password found for $u->{login}@$u->{machine}");
+ $urpm->{log}(sprintf('no password found for %s@%s', $u->{login}, $u->{machine}));
}
}
}