diff options
author | Rob Landley <rob@landley.net> | 2019-12-28 16:06:41 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-12-28 16:06:41 -0600 |
commit | a22594e2af9643570be0bbacc1e0b89d8316c9a7 (patch) | |
tree | fe00ec0d97d1ee1bd37575a63e2ca560ff9413ae /toys/other/free.c | |
parent | b17fc0c2ce6581b7b48b8ffe457661b01289f8fe (diff) | |
download | toybox-a22594e2af9643570be0bbacc1e0b89d8316c9a7.tar.gz |
Cleanup: use FLAG() macros and new argument variable names.
Diffstat (limited to 'toys/other/free.c')
-rw-r--r-- | toys/other/free.c | 2 |
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; |