summaryrefslogtreecommitdiff
path: root/libbb/human_readable.c
diff options
context:
space:
mode:
authorDenys Vlasenko2010-01-18 01:55:00 +0100
committerDenys Vlasenko2010-01-18 01:55:00 +0100
commit9c3b84a3049a152dd6a2b9e3aecaf897f57ac28e (patch)
tree97a510f4effe3a9d074db41c0996b8e74b216811 /libbb/human_readable.c
parentb972f949577301bd7a66e88c11b9e26431d80a11 (diff)
downloadbusybox-9c3b84a3049a152dd6a2b9e3aecaf897f57ac28e.zip
busybox-9c3b84a3049a152dd6a2b9e3aecaf897f57ac28e.tar.gz
ls: make it so that group never glues itself to file size
+ smaller enhancements: inode is long long; -h is a bit narrower; etc Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/human_readable.c')
-rw-r--r--libbb/human_readable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/human_readable.c b/libbb/human_readable.c
index 3050d7d..4228aaf 100644
--- a/libbb/human_readable.c
+++ b/libbb/human_readable.c
@@ -58,7 +58,7 @@ const char* FAST_FUNC make_human_readable_str(unsigned long long val,
/* will just print it as ulonglong (below) */
} else {
while ((val >= 1024)
- /* && (u < unit_chars + sizeof(unit_chars) - 1) - never happens */
+ /* && (u < unit_chars + sizeof(unit_chars) - 1) - always true */
) {
fmt = "%llu.%u%c";
u++;