aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--URPM/Resolve.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index 2c9e021..32a914b 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -1060,7 +1060,7 @@ sub disable_selected_unrequested_dependencies {
foreach (keys %required) {
my $pkg = $urpm->{depslist}[$_] or next;
foreach ($pkg->provides_nosense) {
- foreach my $p_id (whatrequires_id($urpm, $state, $_)) {
+ foreach my $p_id (whatrequires_id($state, $_)) {
exists $required{$p_id} and next;
$state->{selected}{$p_id} and $required{$pkg->id} = 1;
}