diff options
author | Rob Landley <rob@landley.net> | 2018-08-31 15:02:21 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2018-08-31 15:14:12 -0500 |
commit | 8993496e496cdbc80643b69d049d05bbd7f596b3 (patch) | |
tree | 8790f2ada6dfdc0e98265672cac9b8ae07bfce56 /toys/posix/df.c | |
parent | 198b2b48345c175dc184258677fd48043dc1a78b (diff) | |
download | toybox-8993496e496cdbc80643b69d049d05bbd7f596b3.tar.gz |
Convert option style.
Diffstat (limited to 'toys/posix/df.c')
-rw-r--r-- | toys/posix/df.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toys/posix/df.c b/toys/posix/df.c index 64eabf2e..fa136275 100644 --- a/toys/posix/df.c +++ b/toys/posix/df.c @@ -32,7 +32,7 @@ config DF #include "toys.h" GLOBALS( - struct arg_list *fstype; + struct arg_list *t; long units; int column_widths[5]; @@ -104,10 +104,10 @@ static void show_mt(struct mtab_list *mt, int measuring) if (!mt) return; // If we have -t, skip other filesystem types - if (TT.fstype) { + if (TT.t) { struct arg_list *al; - for (al = TT.fstype; al; al = al->next) + for (al = TT.t; al; al = al->next) if (!strcmp(mt->type, al->arg)) break; if (!al) return; |