summaryrefslogtreecommitdiffstats
path: root/src/pacman/pacman.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-07 19:41:33 +0200
committerDan McGee <dan@archlinux.org>2011-06-09 21:24:45 +0200
commit7968d30510de5a6031af39da498be5c821290b82 (patch)
tree234c6c99ca5ce0efd5034c4eaedb9b89f1e81686 /src/pacman/pacman.c
parente826c143d3e9d21485f72c5490b2a907c936024e (diff)
downloadpacman-7968d30510de5a6031af39da498be5c821290b82.tar.gz
pacman-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 'src/pacman/pacman.c')
-rw-r--r--src/pacman/pacman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
index 4b54eb34..544a26fe 100644
--- a/src/pacman/pacman.c
+++ b/src/pacman/pacman.c
@@ -735,7 +735,7 @@ static void cl_to_log(int argc, char* argv[])
*p++ = ' ';
}
strcpy(p, argv[i]);
- alpm_logaction("Running '%s'\n", cl_text);
+ alpm_logaction(config->handle, "Running '%s'\n", cl_text);
free(cl_text);
}