summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/remove.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/remove.c')
-rw-r--r--lib/libalpm/remove.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c
index 7462fa2d..7356870b 100644
--- a/lib/libalpm/remove.c
+++ b/lib/libalpm/remove.c
@@ -164,7 +164,7 @@ int remove_commit(pmtrans_t *trans, pmdb_t *db)
_alpm_log(PM_LOG_FLOW1, "removing files");
/* iterate through the list backwards, unlinking files */
- for(lp = pm_list_last(info->files); lp; lp = lp->prev) {
+ for(lp = _alpm_list_last(info->files); lp; lp = lp->prev) {
int nb = 0;
char *file = lp->data;
char *md5 =_alpm_needbackup(lp->data, info->backup);