summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-03-08 02:25:40 +0000
committerJim Meyering <jim@meyering.net>1996-03-08 02:25:40 +0000
commitff6400a0189ecef71fafa653a48654497d4ab421 (patch)
treecadb28cec2dd9af68a857485202e33c901b2c82a
parenta74458a36ebd06de5e054748e11c7e7ce02ef18d (diff)
downloadcoreutils-ff6400a0189ecef71fafa653a48654497d4ab421.tar.xz
(main): Tell read_filesystem_list that it should determine file system type
when the user specifies --print-type or -T. From Michael Rendell <michael@cs.mun.ca>
-rw-r--r--src/df.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/df.c b/src/df.c
index 6badc6510..38f08cd08 100644
--- a/src/df.c
+++ b/src/df.c
@@ -280,7 +280,9 @@ main (int argc, char **argv)
}
mount_list =
- read_filesystem_list ((fs_select_list != NULL || fs_exclude_list != NULL),
+ read_filesystem_list ((fs_select_list != NULL
+ || fs_exclude_list != NULL
+ || print_type),
show_all_fs);
if (mount_list == NULL)