summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJakob Gruber <jakob.gruber@gmail.com>2011-06-15 10:54:38 +0200
committerDan McGee <dan@archlinux.org>2011-06-15 09:13:51 -0500
commit5b33f48389531e47a0093e84feedce0f63a94c77 (patch)
tree226df525185e0dd8c66c403a6be7a680fb1d02e9 /src
parent700a5374f1c3ab87a194ad7e5472b72072d04454 (diff)
downloadpacman-5b33f48389531e47a0093e84feedce0f63a94c77.tar.xz
Use pm_fprintpf in table_create_format
Signed-off-by: Jakob Gruber <jakob.gruber@gmail.com> 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 27b18601..d142cb75 100644
--- a/src/pacman/util.c
+++ b/src/pacman/util.c
@@ -517,7 +517,7 @@ static alpm_list_t *table_create_format(const alpm_list_t *header,
/* return NULL if terminal is not wide enough */
if(totalwidth > getcols(80)) {
- fprintf(stderr, _("insufficient columns available for table display\n"));
+ pm_fprintf(stderr, PM_LOG_WARNING, _("insufficient columns available for table display\n"));
FREELIST(formats);
return NULL;
}