aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/ls.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c
index 48927c964..a1782ed45 100644
--- a/coreutils/ls.c
+++ b/coreutils/ls.c
@@ -499,7 +499,11 @@ static NOINLINE unsigned display_single(const struct dnode *dn)
499#endif 499#endif
500 500
501 if (opt & OPT_i) /* show inode# */ 501 if (opt & OPT_i) /* show inode# */
502#if !ENABLE_FEATURE_EXTRA_FILE_DATA
502 column += printf("%7"LL_FMT"u ", (long long) dn->dn_ino); 503 column += printf("%7"LL_FMT"u ", (long long) dn->dn_ino);
504#else
505 column += printf("%19"LL_FMT"u ", (long long) dn->dn_ino);
506#endif
503//TODO: -h should affect -s too: 507//TODO: -h should affect -s too:
504 if (opt & OPT_s) /* show allocated blocks */ 508 if (opt & OPT_s) /* show allocated blocks */
505 column += printf("%6"OFF_FMT"u ", (off_t) (dn->dn_blocks >> 1)); 509 column += printf("%6"OFF_FMT"u ", (off_t) (dn->dn_blocks >> 1));