summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pacman/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/util.c b/src/pacman/util.c
index 48a3600d..e613c759 100644
--- a/src/pacman/util.c
+++ b/src/pacman/util.c
@@ -1203,7 +1203,7 @@ static char *make_optstring(alpm_depend_t *optdep)
char *status = NULL;
if(alpm_find_satisfier(alpm_db_get_pkgcache(localdb), optdep->name)) {
status = _(" [installed]");
- } else if(alpm_pkg_find(alpm_trans_get_add(config->handle), optdep->name)) {
+ } else if(alpm_find_satisfier(alpm_trans_get_add(config->handle), optdep->name)) {
status = _(" [pending]");
}
if(status) {