summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pacman/util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pacman/util.c b/src/pacman/util.c
index 24ac782b..60e2914d 100644
--- a/src/pacman/util.c
+++ b/src/pacman/util.c
@@ -585,7 +585,8 @@ int table_display(const char *title, const alpm_list_t *header,
totalwidth = table_calc_widths(header, rows, totalcols, &widths);
/* return -1 if terminal is not wide enough */
if(totalwidth > getcols()) {
- fprintf(stderr, _("insufficient columns available for table display\n"));
+ pm_fprintf(stderr, ALPM_LOG_WARNING,
+ _("insufficient columns available for table display\n"));
return -1;
}
if(!totalwidth || !widths) {