From 8993496e496cdbc80643b69d049d05bbd7f596b3 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 31 Aug 2018 15:02:21 -0500 Subject: Convert option style. --- toys/posix/du.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'toys/posix/du.c') diff --git a/toys/posix/du.c b/toys/posix/du.c index e315d3a3..d2f57277 100644 --- a/toys/posix/du.c +++ b/toys/posix/du.c @@ -37,7 +37,7 @@ config DU #include "toys.h" GLOBALS( - long maxdepth; + long d; unsigned long depth, total; dev_t st_dev; @@ -54,7 +54,7 @@ static void print(long long size, struct dirtree *node) { char *name = "total"; - if (TT.depth > TT.maxdepth) return; + if (TT.depth > TT.d) return; if (toys.optflags & FLAG_h) { human_readable(toybuf, size, 0); -- cgit v1.2.3