summaryrefslogtreecommitdiff
path: root/src/basic/format-table.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic/format-table.c')
-rw-r--r--src/basic/format-table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/format-table.c b/src/basic/format-table.c
index 774f1f17d..fe7c35193 100644
--- a/src/basic/format-table.c
+++ b/src/basic/format-table.c
@@ -1174,7 +1174,7 @@ int table_print(Table *t, FILE *f) {
if (l > width[j]) {
/* Field is wider than allocated space. Let's ellipsize */
- buffer = ellipsize_mem(field, (size_t) -1, width[j], d->ellipsize_percent);
+ buffer = ellipsize(field, width[j], d->ellipsize_percent);
if (!buffer)
return -ENOMEM;