From a22594e2af9643570be0bbacc1e0b89d8316c9a7 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sat, 28 Dec 2019 16:06:41 -0600 Subject: Cleanup: use FLAG() macros and new argument variable names. --- toys/other/free.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/other/free.c') 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; -- cgit v1.2.3