about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2023-08-01 20:47:44 +0200
committerLeah Neukirchen <leah@vuxu.org>2023-08-01 20:47:44 +0200
commitd277dbe0312aa476c363459510f3215bea190120 (patch)
treeb8b87187253817b38b2e48b60b1ddf974cf872d1
parentc66dc6895773cefc5f9f94bb05410e079d489e2f (diff)
downloadlr-d277dbe0312aa476c363459510f3215bea190120.tar.gz
lr-d277dbe0312aa476c363459510f3215bea190120.tar.xz
lr-d277dbe0312aa476c363459510f3215bea190120.zip
print_comma: don't truncate output
Previously, large file sizes were truncated when -W or -U was used.
-rw-r--r--lr.c2
1 files changed, 1 insertions, 1 deletions
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