summaryrefslogtreecommitdiff
path: root/src/pacman
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2006-02-15 22:00:01 +0000
committerAurelien Foret <aurelien@archlinux.org>2006-02-15 22:00:01 +0000
commitf83f01b8eb9051c37dabfa1aaada8fc0f40e155e (patch)
treec56b60f97768f33bbda8eee841befa926701377f /src/pacman
parentce194bdd5ed1ed625dfb6384be7650899e211c3a (diff)
fixed a typo
Diffstat (limited to 'src/pacman')
-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)",