diff options
author | Dan McGee <dan@archlinux.org> | 2011-06-07 12:41:33 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-09 14:24:45 -0500 |
commit | 7968d30510de5a6031af39da498be5c821290b82 (patch) | |
tree | 234c6c99ca5ce0efd5034c4eaedb9b89f1e81686 /src/pacman/pacman.c | |
parent | e826c143d3e9d21485f72c5490b2a907c936024e (diff) |
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.c | 2 |
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); } |