summaryrefslogtreecommitdiff
path: root/src/pacman/deptest.c
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2011-02-25 09:22:09 -0500
committerDan McGee <dan@archlinux.org>2011-02-25 09:46:36 -0600
commit1fcc49675640acc14ee50549d0143c5b8164bdf8 (patch)
tree6ef35a0c79ae4af03b5bc83e70733a6c079d2892 /src/pacman/deptest.c
parenteefe8c83644892b963b1b4e5fbe297fa4be1f119 (diff)
downloadpacman-1fcc49675640acc14ee50549d0143c5b8164bdf8.tar.xz
alpm: alpm_db_get_pkgcache_list => alpm_db_get_pkgcache
This avoids needless breakage of the public API. Signed-off-by: Dave Reisner <d@falconindy.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/deptest.c')
-rw-r--r--src/pacman/deptest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/deptest.c b/src/pacman/deptest.c
index 0d265c70..8895b487 100644
--- a/src/pacman/deptest.c
+++ b/src/pacman/deptest.c
@@ -41,7 +41,7 @@ int pacman_deptest(alpm_list_t *targets)
for(i = targets; i; i = alpm_list_next(i)) {
char *target = alpm_list_getdata(i);
- if(!alpm_find_satisfier(alpm_db_get_pkgcache_list(localdb), target)) {
+ if(!alpm_find_satisfier(alpm_db_get_pkgcache(localdb), target)) {
deps = alpm_list_add(deps, target);
}
}