summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {