diff options
-rw-r--r-- | coreutils/ls.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c index c48498858..20bd61860 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c | |||
@@ -668,7 +668,7 @@ static void display_files(struct dnode **dn, unsigned nfiles) | |||
668 | if (column_width < len) | 668 | if (column_width < len) |
669 | column_width = len; | 669 | column_width = len; |
670 | } | 670 | } |
671 | column_width += 1 + | 671 | column_width += 2 + |
672 | IF_SELINUX( ((G.all_fmt & LIST_CONTEXT) ? 33 : 0) + ) | 672 | IF_SELINUX( ((G.all_fmt & LIST_CONTEXT) ? 33 : 0) + ) |
673 | ((G.all_fmt & LIST_INO) ? 8 : 0) + | 673 | ((G.all_fmt & LIST_INO) ? 8 : 0) + |
674 | ((G.all_fmt & LIST_BLOCKS) ? 5 : 0); | 674 | ((G.all_fmt & LIST_BLOCKS) ? 5 : 0); |
@@ -696,8 +696,8 @@ static void display_files(struct dnode **dn, unsigned nfiles) | |||
696 | if (i < nfiles) { | 696 | if (i < nfiles) { |
697 | if (column > 0) { | 697 | if (column > 0) { |
698 | nexttab -= column; | 698 | nexttab -= column; |
699 | printf("%*s ", nexttab, ""); | 699 | printf("%*s", nexttab, ""); |
700 | column += nexttab + 1; | 700 | column += nexttab; |
701 | } | 701 | } |
702 | nexttab = column + column_width; | 702 | nexttab = column + column_width; |
703 | column += display_single(dn[i]); | 703 | column += display_single(dn[i]); |