diff options
-rw-r--r-- | urpm/install.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm/install.pm b/urpm/install.pm index a351c9d8..d327390b 100644 --- a/urpm/install.pm +++ b/urpm/install.pm @@ -305,8 +305,8 @@ sub _get_callbacks { $current_pkg = $trans->Element_fullname($idx); }; $options->{callback_error} ||= sub { - my ($urpm, undef, $id, $subtype, undef, undef, $fullname) = @_; - $urpm->{error}("ERROR: '$subtype' failed for $fullname"); + my ($urpm, undef, $id, $subtype, undef, undef) = @_; + $urpm->{error}("ERROR: '$subtype' failed for $current_pkg"); }; if ($options->{verbose} >= 0 && $have_pkgs) { |