From 42adb7a56ba7b251ebc0a2d7aced81d3be5342a3 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 30 Aug 2013 17:34:24 -0500 Subject: Allow getmountlist to read fstab too. --- toys/posix/df.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/posix/df.c') diff --git a/toys/posix/df.c b/toys/posix/df.c index 83b59bb0..97b3234f 100644 --- a/toys/posix/df.c +++ b/toys/posix/df.c @@ -108,7 +108,7 @@ void df_main(void) TT.units); } else puts("Filesystem\t1K-blocks\tUsed Available Use% Mounted on"); - mtlist = xgetmountlist(); + mtlist = xgetmountlist(0); // If we have a list of filesystems on the command line, loop through them. if (*toys.optargs) { -- cgit v1.2.3