summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pacman/query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/query.c b/src/pacman/query.c
index 7df16b17..258c1607 100644
--- a/src/pacman/query.c
+++ b/src/pacman/query.c
@@ -270,7 +270,7 @@ int pacman_query(alpm_list_t *targets)
printf(_("Checking for package upgrades..."));
alpm_list_t *syncpkgs;
- if((syncpkgs = alpm_get_upgrades()) != NULL) {
+ if((syncpkgs = alpm_db_get_upgrades()) != NULL) {
display_targets(syncpkgs);
return(0);
} else {