diff options
author | Rob Landley <rob@landley.net> | 2018-12-04 21:29:51 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2018-12-04 21:29:51 -0600 |
commit | 747e296ff656813340c9355d98b0a13cba8473bc (patch) | |
tree | e7ef2b20be56e2e5a2062168aa822fd6c6139b7d /toys/posix/who.c | |
parent | 141a075c0e192dc9910e777270114b1864270bfd (diff) | |
download | toybox-747e296ff656813340c9355d98b0a13cba8473bc.tar.gz |
Add FLAG(x) macro, expanding to (toys.optflags & FLAG_##x)
Diffstat (limited to 'toys/posix/who.c')
-rw-r--r-- | toys/posix/who.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/who.c b/toys/posix/who.c index 414cdfc0..53252e87 100644 --- a/toys/posix/who.c +++ b/toys/posix/who.c @@ -31,7 +31,7 @@ void who_main(void) setutxent(); while ((entry = getutxent())) { - if ((toys.optflags & FLAG_a) || entry->ut_type == USER_PROCESS) { + if (FLAG(a) || entry->ut_type == USER_PROCESS) { time_t time; int time_size; char *times; |