aboutsummaryrefslogtreecommitdiff
path: root/src/output/console_install_task.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/output/console_install_task.cc')
-rw-r--r--src/output/console_install_task.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/console_install_task.cc b/src/output/console_install_task.cc
index f6d922aa8..d64030f60 100644
--- a/src/output/console_install_task.cc
+++ b/src/output/console_install_task.cc
@@ -1755,7 +1755,7 @@ ConsoleInstallTask::on_additional_requirements_not_met_error(const AdditionalReq
i_end(e.query().additional_requirements_ptr()->end()) ;
i != i_end ; ++i)
{
- const std::pair<bool, std::string> r((*i)->requirement_met(environment(), 0, e.package_id(), 0));
+ const std::pair<bool, std::string> r((*i)->requirement_met(environment(), 0, e.package_id(), e.from_package_id(), 0));
if (r.first)
continue;
output_stream() << " * " << r.second << endl;