diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-18 01:55:00 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-18 01:55:00 +0100 |
commit | 9c3b84a3049a152dd6a2b9e3aecaf897f57ac28e (patch) | |
tree | 97a510f4effe3a9d074db41c0996b8e74b216811 /libbb/human_readable.c | |
parent | b972f949577301bd7a66e88c11b9e26431d80a11 (diff) | |
download | busybox-w32-9c3b84a3049a152dd6a2b9e3aecaf897f57ac28e.tar.gz busybox-w32-9c3b84a3049a152dd6a2b9e3aecaf897f57ac28e.tar.bz2 busybox-w32-9c3b84a3049a152dd6a2b9e3aecaf897f57ac28e.zip |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/human_readable.c b/libbb/human_readable.c index 3050d7d1e..4228aaf42 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, | |||
58 | /* will just print it as ulonglong (below) */ | 58 | /* will just print it as ulonglong (below) */ |
59 | } else { | 59 | } else { |
60 | while ((val >= 1024) | 60 | while ((val >= 1024) |
61 | /* && (u < unit_chars + sizeof(unit_chars) - 1) - never happens */ | 61 | /* && (u < unit_chars + sizeof(unit_chars) - 1) - always true */ |
62 | ) { | 62 | ) { |
63 | fmt = "%llu.%u%c"; | 63 | fmt = "%llu.%u%c"; |
64 | u++; | 64 | u++; |