diff options
author | Rob Landley <rob@landley.net> | 2024-04-30 13:08:35 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2024-04-30 13:08:35 -0500 |
commit | bcbbcb24c2db6fbc2b71e6be5149ce43f0d899dd (patch) | |
tree | 4e01a2e35ed90a7b94f30399378aa82846397435 /toys/posix/du.c | |
parent | f53aab3ce3cd9cd7d36f08df6efb5ff31c48dc26 (diff) | |
download | toybox-bcbbcb24c2db6fbc2b71e6be5149ce43f0d899dd.tar.gz |
Switch most remaining toys.optflags&FLAG_x checks to FLAG(x)
Diffstat (limited to 'toys/posix/du.c')
-rw-r--r-- | toys/posix/du.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/toys/posix/du.c b/toys/posix/du.c index 0544aeee..a51dfc11 100644 --- a/toys/posix/du.c +++ b/toys/posix/du.c @@ -158,8 +158,7 @@ void du_main(void) // Loop over command line arguments, recursing through children for (args = toys.optc ? toys.optargs : noargs; *args; args++) - dirtree_flagread(*args, DIRTREE_SYMFOLLOW*!!(toys.optflags&(FLAG_H|FLAG_L)), - do_du); + dirtree_flagread(*args, DIRTREE_SYMFOLLOW*(FLAG(H)|FLAG(L)), do_du); if (FLAG(c)) print(FLAG(b) ? TT.total : TT.total*512, 0); if (CFG_TOYBOX_FREE) seen_inode(TT.inodes, 0); |