Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pacman/sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/sync.c b/src/pacman/sync.c
index 6ef50bbb..a47bdb0e 100644
--- a/src/pacman/sync.c
+++ b/src/pacman/sync.c
@@ -642,7 +642,7 @@ int pacman_sync(list_t *targets)
for(lp = alpm_list_first(alpm_trans_getinfo(PM_TRANS_PACKAGES)); lp; lp = alpm_list_next(lp)) {
PM_PKG *sync = alpm_list_getdata(lp);
if(current == NULL) {
- PM_DB *dbs = alpm_pkg_getinfo(sync, PM_PKG_SYNCDB);
+ PM_DB *dbs = alpm_pkg_getinfo(sync, PM_PKG_DB);
/* we're starting on a new repository */
if(!list_is_ptrin(dbs, processed)) {
/* ORE