Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src/util/cleanupdelta.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-07 13:34:30 -0500
committerDan McGee <dan@archlinux.org>2011-06-09 14:24:45 -0500
commit7d27cf8364b9c5d9a8d89017173f8c88d40cedd5 (patch)
tree4a313e52acfd978a2d53ece7281c9b1dba8674bf /src/util/cleanupdelta.c
parent24000b83c9a9ba2f25a46914d2919293dc865a2e (diff)
Require handle for alpm_db_register_sync()
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/util/cleanupdelta.c')
-rw-r--r--src/util/cleanupdelta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/cleanupdelta.c b/src/util/cleanupdelta.c
index 83659cd5..5112b1a8 100644
--- a/src/util/cleanupdelta.c
+++ b/src/util/cleanupdelta.c
@@ -75,7 +75,7 @@ static void checkdbs(const char *dbpath, alpm_list_t *dbnames) {
for(i = dbnames; i; i = alpm_list_next(i)) {
char *dbname = alpm_list_getdata(i);
snprintf(syncdbpath, PATH_MAX, "%s/sync/%s", dbpath, dbname);
- db = alpm_db_register_sync(dbname);
+ db = alpm_db_register_sync(handle, dbname);
if(db == NULL) {
fprintf(stderr, "error: could not register sync database (%s)\n",
alpm_strerrorlast());