summaryrefslogtreecommitdiff
path: root/src/util/testdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/testdb.c')
-rw-r--r--src/util/testdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/testdb.c b/src/util/testdb.c
index 94f9ad73..69e35199 100644
--- a/src/util/testdb.c
+++ b/src/util/testdb.c
@@ -135,7 +135,7 @@ int main(int argc, char **argv)
/* check dependencies */
alpm_list_t *data;
- alpm_list_t *pkglist = alpm_db_getpkgcache(db);
+ alpm_list_t *pkglist = alpm_db_get_pkgcache(db);
data = alpm_checkdeps(pkglist, 0, NULL, pkglist);
for(i = data; i; i = alpm_list_next(i)) {
pmdepmissing_t *miss = alpm_list_getdata(i);