Use pm_fprintpf in table_create_format
Signed-off-by: Jakob Gruber <jakob.gruber@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
700a5374f1
commit
5b33f48389
1 changed files with 1 additions and 1 deletions
|
@ -517,7 +517,7 @@ static alpm_list_t *table_create_format(const alpm_list_t *header,
|
||||||
|
|
||||||
/* return NULL if terminal is not wide enough */
|
/* return NULL if terminal is not wide enough */
|
||||||
if(totalwidth > getcols(80)) {
|
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);
|
FREELIST(formats);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue