Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src/pacman/upgrade.c
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-06-28 14:50:48 +1000
committerAllan McRae <allan@archlinux.org>2011-06-28 23:28:24 +1000
commitddad400900fbf253f6e247f51ef4aeb9d89d8643 (patch)
tree41ba168a977c3ee2b9f13b86d7d6e2b99b92aaec /src/pacman/upgrade.c
parent1059df7486054c621423436b801681775a2596c3 (diff)
Rename pmerrno_t to alpm_errno_t
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/pacman/upgrade.c')
-rw-r--r--src/pacman/upgrade.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pacman/upgrade.c b/src/pacman/upgrade.c
index 7f6e0986..31536a43 100644
--- a/src/pacman/upgrade.c
+++ b/src/pacman/upgrade.c
@@ -94,7 +94,7 @@ int pacman_upgrade(alpm_list_t *targets)
/* Step 2: "compute" the transaction based on targets and flags */
/* TODO: No, compute nothing. This is stupid. */
if(alpm_trans_prepare(config->handle, &data) == -1) {
- enum _pmerrno_t err = alpm_errno(config->handle);
+ enum _alpm_errno_t err = alpm_errno(config->handle);
pm_fprintf(stderr, PM_LOG_ERROR, _("failed to prepare transaction (%s)\n"),
alpm_strerror(err));
switch(err) {
@@ -162,7 +162,7 @@ int pacman_upgrade(alpm_list_t *targets)
}
if(alpm_trans_commit(config->handle, &data) == -1) {
- enum _pmerrno_t err = alpm_errno(config->handle);
+ enum _alpm_errno_t err = alpm_errno(config->handle);
pm_fprintf(stderr, PM_LOG_ERROR, _("failed to commit transaction (%s)\n"),
alpm_strerror(err));
switch(err) {