mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-14 14:55:41 +00:00
Truncate long file names in stat_display(), as was originally intended.
MFC after: 1 week
This commit is contained in:
parent
ed01a58215
commit
c8488e24e7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131615
@ -200,7 +200,7 @@ stat_display(struct xferstat *xs, int force)
|
||||
return;
|
||||
xs->last = now;
|
||||
|
||||
fprintf(stderr, "\r%-46s", xs->name);
|
||||
fprintf(stderr, "\r%-46.46s", xs->name);
|
||||
if (xs->size <= 0) {
|
||||
fprintf(stderr, " %s", stat_bytes(xs->rcvd));
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user