[pacman-dev] [PATCH] Fix documentation typo

Allan McRae allan at archlinux.org
Sun Aug 12 08:08:29 EDT 2012


Signed-off-by: Allan McRae <allan at archlinux.org>
---
 lib/libalpm/trans.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libalpm/trans.c b/lib/libalpm/trans.c
index 08f70dd..0ba24ff 100644
--- a/lib/libalpm/trans.c
+++ b/lib/libalpm/trans.c
@@ -163,7 +163,7 @@ int SYMEXPORT alpm_trans_commit(alpm_handle_t *handle, alpm_list_t **data)
 
 	if(trans->add == NULL) {
 		if(_alpm_remove_packages(handle, 1) == -1) {
-			/* pm_errno is set by _alpm_remove_commit() */
+			/* pm_errno is set by _alpm_remove_packages() */
 			return -1;
 		}
 	} else {
-- 
1.7.11.4



More information about the pacman-dev mailing list