aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/du.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2018-08-31 15:02:21 -0500
committerRob Landley <rob@landley.net>2018-08-31 15:14:12 -0500
commit8993496e496cdbc80643b69d049d05bbd7f596b3 (patch)
tree8790f2ada6dfdc0e98265672cac9b8ae07bfce56 /toys/posix/du.c
parent198b2b48345c175dc184258677fd48043dc1a78b (diff)
downloadtoybox-8993496e496cdbc80643b69d049d05bbd7f596b3.tar.gz
Convert option style.
Diffstat (limited to 'toys/posix/du.c')
-rw-r--r--toys/posix/du.c4
1 files changed, 2 insertions, 2 deletions
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);