mirror of
https://github.com/moparisthebest/pacman
synced 2025-03-01 01:41:52 -05:00
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
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user