From 5b33f48389531e47a0093e84feedce0f63a94c77 Mon Sep 17 00:00:00 2001 From: Jakob Gruber Date: Wed, 15 Jun 2011 10:54:38 +0200 Subject: Use pm_fprintpf in table_create_format Signed-off-by: Jakob Gruber Signed-off-by: Dan McGee --- src/pacman/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3-24-g4f1b