diff options
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; |