aboutsummaryrefslogtreecommitdiff
path: root/libbb/human_readable.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/human_readable.c')
-rw-r--r--libbb/human_readable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/human_readable.c b/libbb/human_readable.c
index ff1b55141..7469e7999 100644
--- a/libbb/human_readable.c
+++ b/libbb/human_readable.c
@@ -72,8 +72,8 @@ const char *make_human_readable_str(unsigned long long size,
}
#if 0
/* Sample code to omit decimal point and tenths digit. */
- if ( /* no_tenths */ 1 ) {
- if ( frac >= 5 ) {
+ if (/* no_tenths */ 1) {
+ if (frac >= 5) {
++val;
}
f = "%llu%*c" /* fmt_no_tenths */ ;