diff options
author | William Pitcock <nenolod@dereferenced.org> | 2017-11-02 17:14:18 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2017-11-02 17:14:18 +0000 |
commit | 6aabb96c204c5290dd69cba6f8f163b314de702d (patch) | |
tree | 91ba4b69a0f286cb719699d411bf1d79e643bfde /src/solver.c | |
parent | 0a17a648db0e9df61f9bea9d5be292a98106dc6a (diff) | |
download | apk-tools-6aabb96c204c5290dd69cba6f8f163b314de702d.tar.gz apk-tools-6aabb96c204c5290dd69cba6f8f163b314de702d.tar.bz2 apk-tools-6aabb96c204c5290dd69cba6f8f163b314de702d.tar.xz apk-tools-6aabb96c204c5290dd69cba6f8f163b314de702d.zip |
solver: fix dbg_printf() call in select_package()
Diffstat (limited to 'src/solver.c')
-rw-r--r-- | src/solver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/solver.c b/src/solver.c index c7c9983..5d73af6 100644 --- a/src/solver.c +++ b/src/solver.c @@ -660,9 +660,9 @@ static void select_package(struct apk_solver_state *ss, struct apk_name *name) if (name->ss.requirers || name->ss.has_iif) { foreach_array_item(p, name->providers) { - dbg_printf(" consider "PKG_VER_FMT" iif_triggered=%d, tag_ok=%d, selectable=%d, selected=%d, provider_priority=%d\n", + dbg_printf(" consider "PKG_VER_FMT" iif_triggered=%d, tag_ok=%d, selectable=%d, provider_priority=%d, installed=%d\n", PKG_VER_PRINTF(p->pkg), p->pkg->ss.iif_triggered, p->pkg->ss.tag_ok, p->pkg->ss.pkg_selectable, - p->pkg->ss.pkg_selected, p->pkg->provider_priority); + p->pkg->provider_priority, p->pkg->ipkg != NULL); /* Ensure valid pinning and install-if trigger */ if (name->ss.requirers == 0 && (!p->pkg->ss.iif_triggered || |