Ensure that there's always a space between the user name and

group name in -tv output format.
This commit is contained in:
Tim Kientzle 2004-08-05 05:46:22 +00:00
parent d1fb385c10
commit d9fbe79b07

View File

@ -240,7 +240,7 @@ list_item_verbose(struct bsdtar *bsdtar, struct archive_entry *entry)
w = strlen(p);
if (w > bsdtar->u_width)
bsdtar->u_width = w;
fprintf(out, "%-*s", (int)bsdtar->u_width, p);
fprintf(out, "%-*s ", (int)bsdtar->u_width, p);
/* Use gname if it's present, else gid. */
p = archive_entry_gname(entry);