From d277dbe0312aa476c363459510f3215bea190120 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Tue, 1 Aug 2023 20:47:44 +0200 Subject: print_comma: don't truncate output Previously, large file sizes were truncated when -W or -U was used. --- lr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lr.c b/lr.c index d2ad498..5a2d829 100644 --- a/lr.c +++ b/lr.c @@ -1655,7 +1655,7 @@ print_comma(int len, intmax_t i) *--s = ','; } - printf("%*.*s", len+len/3, len+len/3, s); + printf("%*s", len+len/3, s); } static void -- cgit 1.4.1