index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Xavier Chantry <shiningxc@gmail.com> | 2009-07-16 14:55:45 +0200 |
---|---|---|
committer | Xavier Chantry <shiningxc@gmail.com> | 2009-09-12 13:06:43 +0200 |
commit | b4317a740ac2d4f5e4d1aa56a97171c52be70d02 (patch) | |
tree | 824a2c012b505700d77291a389d27ff851bade8e /src/pacman/upgrade.c | |
parent | 19e07eb8e84dd117061a600abdd9c8fed7391a07 (diff) |
-rw-r--r-- | src/pacman/upgrade.c | 2 |
diff --git a/src/pacman/upgrade.c b/src/pacman/upgrade.c index 936e2592..57c7b790 100644 --- a/src/pacman/upgrade.c +++ b/src/pacman/upgrade.c @@ -72,7 +72,7 @@ int pacman_upgrade(alpm_list_t *targets) printf(_("loading package data...\n")); for(i = targets; i; i = alpm_list_next(i)) { char *targ = alpm_list_getdata(i); - if(alpm_trans_add(targ) == -1) { + if(alpm_add_target(targ) == -1) { pm_fprintf(stderr, PM_LOG_ERROR, "'%s': %s\n", targ, alpm_strerrorlast()); trans_release(); |