aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--coreutils/ls.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c
index a1782ed45..c5402de30 100644
--- a/coreutils/ls.c
+++ b/coreutils/ls.c
@@ -657,7 +657,11 @@ static void display_files(struct dnode **dn, unsigned nfiles)
657 } 657 }
658 column_width += 2 658 column_width += 2
659 + ((option_mask32 & OPT_Z) ? 33 : 0) /* context width */ 659 + ((option_mask32 & OPT_Z) ? 33 : 0) /* context width */
660#if !ENABLE_FEATURE_EXTRA_FILE_DATA
660 + ((option_mask32 & OPT_i) ? 8 : 0) /* inode# width */ 661 + ((option_mask32 & OPT_i) ? 8 : 0) /* inode# width */
662#else
663 + ((option_mask32 & OPT_i) ? 20 : 0) /* inode# width */
664#endif
661 + ((option_mask32 & OPT_s) ? 5 : 0) /* "alloc block" width */ 665 + ((option_mask32 & OPT_s) ? 5 : 0) /* "alloc block" width */
662 ; 666 ;
663 ncols = (unsigned)G_terminal_width / column_width; 667 ncols = (unsigned)G_terminal_width / column_width;