Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-10-21 10:38:02 -0500
committerDan McGee <dan@archlinux.org>2011-10-21 10:38:02 -0500
commit45f86ca1ca712857e6f84288cf818ce5707fc345 (patch)
treead9041c1575c30893bbffa7be68e60ae6b5d5691 /src
parent4bada454643e6d91f0b53415bc8d135bc7f578b5 (diff)
Use stderr as output stream for pm_printf()
This matches what we now do in our backend callback function- all debug/info/warning/error/etc. messages should be on stderr. These are all the messages with a "warning:" or other type prefix, so does not affect general pacman output. This should fix the output confusion noted in FS#26555. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r--src/pacman/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/util.c b/src/pacman/util.c
index 60e2914d..1ca9b4d6 100644
--- a/src/pacman/util.c
+++ b/src/pacman/util.c
@@ -1417,7 +1417,7 @@ int pm_printf(alpm_loglevel_t level, const char *format, ...)
/* print the message using va_arg list */
va_start(args, format);
- ret = pm_vfprintf(stdout, level, format, args);
+ ret = pm_vfprintf(stderr, level, format, args);
va_end(args);
return ret;