summaryrefslogtreecommitdiff
path: root/lib/libalpm/trans.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-07 12:41:33 -0500
committerDan McGee <dan@archlinux.org>2011-06-09 14:24:45 -0500
commit7968d30510de5a6031af39da498be5c821290b82 (patch)
tree234c6c99ca5ce0efd5034c4eaedb9b89f1e81686 /lib/libalpm/trans.c
parente826c143d3e9d21485f72c5490b2a907c936024e (diff)
downloadpacman-7968d30510de5a6031af39da498be5c821290b82.tar.xz
Require handle argument to alpm_logaction()
This is the first in a series of patches to update the API to remove the implicit global handle variable. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/trans.c')
-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 58bcc38b..a7d762ea 100644
--- a/lib/libalpm/trans.c
+++ b/lib/libalpm/trans.c
@@ -292,7 +292,7 @@ int SYMEXPORT alpm_trans_release(void)
if(remove_lock(handle)) {
_alpm_log(PM_LOG_WARNING, _("could not remove lock file %s\n"),
alpm_option_get_lockfile());
- alpm_logaction("warning: could not remove lock file %s\n",
+ alpm_logaction(handle, "warning: could not remove lock file %s\n",
alpm_option_get_lockfile());
}
}