summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2005-10-08 23:42:15 +0000
committerJudd Vinet <judd@archlinux.org>2005-10-08 23:42:15 +0000
commit995057bcdab99a581af7a6a10e58ac5f41a83275 (patch)
treee10b2ed1a46db2e9540b1f81fca84e65b144a55b /src
parent6f75de92b55d879abeb29b5d0aede2830ffbb1aa (diff)
correct a trans_commit protocol
Diffstat (limited to 'src')
-rw-r--r--src/pacman/sync.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pacman/sync.c b/src/pacman/sync.c
index 4d1c5143..39c5a0d5 100644
--- a/src/pacman/sync.c
+++ b/src/pacman/sync.c
@@ -674,7 +674,7 @@ int pacman_sync(list_t *targets)
MSG(NL, "\n");
/* Check integrity of files */
- MSG(NL, "checking packages integrity... ");
+ MSG(NL, "checking package integrity... ");
for(lp = alpm_list_first(packages); lp; lp = alpm_list_next(lp)) {
PM_SYNCPKG *sync = alpm_list_getdata(lp);
@@ -714,7 +714,7 @@ int pacman_sync(list_t *targets)
}
/* Step 3: actually perform the installation */
- if(alpm_trans_commit(&data) == -1) {
+ if(alpm_trans_commit() == -1) {
ERR(NL, "failed to commit transaction (%s)\n", alpm_strerror(pm_errno));
retval = 1;
goto cleanup;