summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2012-08-12 22:07:10 +1000
committerDan McGee <dan@archlinux.org>2012-09-18 08:30:05 -0500
commit87f9377b327ad6b12e9f1bde5669ebd6e1deef3e (patch)
tree7f26d56a0769d81e8bfb60f0e19ba2eef7d6e49c
parente32d1299675da86bb26b414e1dd9e9d4d3bd5d81 (diff)
downloadpacman-87f9377b327ad6b12e9f1bde5669ebd6e1deef3e.tar.xz
Fix documentation typo
Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--lib/libalpm/trans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/trans.c b/lib/libalpm/trans.c
index 08f70dd7..0ba24ff7 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 {