summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-04-03 19:58:24 +0000
committerAurelien Foret <aurelien@archlinux.org>2005-04-03 19:58:24 +0000
commitaf759f11b5dde197062b477226fe8049138ab27c (patch)
tree6a913cbab423fe8841020453d38ee1b601190012
parenta98c5c25b5373e1e05b972d2db891e8c6a85b1c8 (diff)
downloadpacman-af759f11b5dde197062b477226fe8049138ab27c.tar.xz
fixed a typo
-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