From 995057bcdab99a581af7a6a10e58ac5f41a83275 Mon Sep 17 00:00:00 2001 From: Judd Vinet Date: Sat, 8 Oct 2005 23:42:15 +0000 Subject: correct a trans_commit protocol --- src/pacman/sync.c | 4 ++-- 1 file 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; -- cgit v1.2.3-24-g4f1b