aboutsummaryrefslogtreecommitdiff
path: root/toys/other/free.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/other/free.c')
-rw-r--r--toys/other/free.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/free.c b/toys/other/free.c
index ce0df020..d76e050d 100644
--- a/toys/other/free.c
+++ b/toys/other/free.c
@@ -31,7 +31,7 @@ static char *convert(unsigned long d)
long long ll = d*TT.units;
char *s = TT.buf;
- if (toys.optflags & FLAG_h) human_readable(s, ll, 0);
+ if (FLAG(h)) human_readable(s, ll, 0);
else sprintf(s, "%llu",ll>>TT.bits);
TT.buf += strlen(TT.buf)+1;