summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm/removable.pm2
-rwxr-xr-xurpmi2
2 files changed, 2 insertions, 2 deletions
diff --git a/urpm/removable.pm b/urpm/removable.pm
index 8addf002..c7d8e74d 100644
--- a/urpm/removable.pm
+++ b/urpm/removable.pm
@@ -188,7 +188,7 @@ sub _mount_cdrom {
try_umounting($urpm, $dir);
system("/usr/bin/eject '$medium->{removable}' 2>/dev/null");
- $ask_for_medium->(remove_internal_name($medium->{name}), $medium->{removable})
+ $ask_for_medium->(remove_internal_name($medium->{name}))
or $urpm->{fatal}(4, N("medium \"%s\" is not available", $medium->{name}));
}
}
diff --git a/urpmi b/urpmi
index c77d1cc4..547af95e 100755
--- a/urpmi
+++ b/urpmi
@@ -619,7 +619,7 @@ my $exit_code = urpm::main_loop::run($urpm, $state,
int(@names || @src_names || @files || @src_files),
\@ask_unselect, \%requested, {
(!$urpm->{options}{auto} || $allow_medium_change ? (copy_removable => sub {
- my $msg = N("Please insert the medium named \"%s\" on device [%s]", $_[0], $_[1]);
+ my $msg = N("Please insert the medium named \"%s\"", $_[0]);
my $msg2 = N("Press Enter when ready...");
if ($ENV{DISPLAY} && $::gui) {
#- probably run from a drak tool