diff options
author | Judd Vinet <judd@archlinux.org> | 2005-10-08 23:42:15 +0000 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2005-10-08 23:42:15 +0000 |
commit | 995057bcdab99a581af7a6a10e58ac5f41a83275 (patch) | |
tree | e10b2ed1a46db2e9540b1f81fca84e65b144a55b | |
parent | 6f75de92b55d879abeb29b5d0aede2830ffbb1aa (diff) | |
download | pacman-995057bcdab99a581af7a6a10e58ac5f41a83275.tar.xz |
correct a trans_commit protocol
-rw-r--r-- | src/pacman/sync.c | 4 |
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; |