diff options
-rw-r--r-- | coreutils/ls.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c index da370c74b..19c868ca4 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c | |||
@@ -683,8 +683,9 @@ static NOINLINE unsigned list_single(const struct dnode *dn) | |||
683 | 683 | ||
684 | if (all_fmt & LIST_INO) | 684 | if (all_fmt & LIST_INO) |
685 | column += printf("%7llu ", (long long) dn->dstat.st_ino); | 685 | column += printf("%7llu ", (long long) dn->dstat.st_ino); |
686 | //TODO: -h should affect -s too: | ||
686 | if (all_fmt & LIST_BLOCKS) | 687 | if (all_fmt & LIST_BLOCKS) |
687 | column += printf("%4"OFF_FMT"u ", (off_t) (dn->dstat.st_blocks >> 1)); | 688 | column += printf("%6"OFF_FMT"u ", (off_t) (dn->dstat.st_blocks >> 1)); |
688 | if (all_fmt & LIST_MODEBITS) | 689 | if (all_fmt & LIST_MODEBITS) |
689 | column += printf("%-10s ", (char *) bb_mode_string(dn->dstat.st_mode)); | 690 | column += printf("%-10s ", (char *) bb_mode_string(dn->dstat.st_mode)); |
690 | if (all_fmt & LIST_NLINKS) | 691 | if (all_fmt & LIST_NLINKS) |