summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2006-02-15 23:00:01 +0100
committerAurelien Foret <aurelien@archlinux.org>2006-02-15 23:00:01 +0100
commitf83f01b8eb9051c37dabfa1aaada8fc0f40e155e (patch)
treec56b60f97768f33bbda8eee841befa926701377f
parentce194bdd5ed1ed625dfb6384be7650899e211c3a (diff)
downloadpacman-f83f01b8eb9051c37dabfa1aaada8fc0f40e155e.tar.gz
pacman-f83f01b8eb9051c37dabfa1aaada8fc0f40e155e.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 a5d24695..495a2274 100644
--- a/src/pacman/sync.c
+++ b/src/pacman/sync.c
@@ -753,7 +753,7 @@ int pacman_sync(list_t *targets)
switch(pm_errno) {
case PM_ERR_FILE_CONFLICTS:
for(lp = alpm_list_first(data); lp; lp = alpm_list_next(lp)) {
- PM_CONFLICT *conflict = alpm_list_getdata(i);
+ PM_CONFLICT *conflict = alpm_list_getdata(lp);
switch((int)alpm_conflict_getinfo(conflict, PM_CONFLICT_TYPE)) {
case PM_CONFLICT_TYPE_TARGET:
MSG(NL, "%s exists in \"%s\" (target) and \"%s\" (target)",