aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2013-08-30 17:34:24 -0500
committerRob Landley <rob@landley.net>2013-08-30 17:34:24 -0500
commit42adb7a56ba7b251ebc0a2d7aced81d3be5342a3 (patch)
treecf43644ec155f8d233e78ae3af148d59defe17b9 /toys
parentd04dc1feb92a279e27e4487c502944f454d43837 (diff)
downloadtoybox-42adb7a56ba7b251ebc0a2d7aced81d3be5342a3.tar.gz
Allow getmountlist to read fstab too.
Diffstat (limited to 'toys')
-rw-r--r--toys/posix/df.c2
1 files changed, 1 insertions, 1 deletions
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) {