summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/log.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-07-09 21:22:01 +0200
committerDan McGee <dan@archlinux.org>2007-07-09 21:23:26 +0200
commit1480ac29e475e369fb781fe98ac5991e1a67e5e5 (patch)
tree425e59357955f56e2f947bdcc694e4c033460170 /lib/libalpm/log.c
parent4906e15d0d31bf0442c25af44bcb637b87a7b027 (diff)
downloadpacman-1480ac29e475e369fb781fe98ac5991e1a67e5e5.tar.gz
pacman-1480ac29e475e369fb781fe98ac5991e1a67e5e5.tar.xz
Clean up the alpm handle
Add some comments in handle.h, and remove the pmaccess_t part that we don't even use. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/log.c')
-rw-r--r--lib/libalpm/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/log.c b/lib/libalpm/log.c
index 19f41283..f4564fc9 100644
--- a/lib/libalpm/log.c
+++ b/lib/libalpm/log.c
@@ -52,7 +52,7 @@ int SYMEXPORT alpm_logaction(char *fmt, ...)
ASSERT(handle != NULL, RET_ERR(PM_ERR_HANDLE_NULL, -1));
va_start(args, fmt);
- ret = _alpm_logaction(handle->usesyslog, handle->logfd, fmt, args);
+ ret = _alpm_logaction(handle->usesyslog, handle->logstream, fmt, args);
va_end(args);
/* TODO We should add a prefix to log strings depending on who called us.