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/df.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'toys/posix/df.c') 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; -- cgit v1.2.3