summaryrefslogtreecommitdiffstats
path: root/expac.c
diff options
context:
space:
mode:
Diffstat (limited to 'expac.c')
-rw-r--r--expac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/expac.c b/expac.c
index 9770a96..2c652e9 100644
--- a/expac.c
+++ b/expac.c
@@ -708,7 +708,7 @@ static alpm_list_t *resolve_pkg(alpm_list_t *targets) {
}
if (!(pkg = alpm_db_get_pkg(repo, pkgname)) &&
- !(pkg = alpm_find_satisfier(alpm_db_get_pkgcache(repo), pkgname))) {
+ !(pkg = alpm_db_get_pkg(repo, pkgname))) {
continue;
}