]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(main): Tell read_filesystem_list that it should determine file system type
authorJim Meyering <jim@meyering.net>
Fri, 8 Mar 1996 02:25:40 +0000 (02:25 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 8 Mar 1996 02:25:40 +0000 (02:25 +0000)
when the user specifies --print-type or -T.  From Michael Rendell
<michael@cs.mun.ca>

src/df.c

index 6badc6510fca142a90c20a23afd4c6b7c5217e8a..38f08cd083e66f6539fec90096fc75882246762e 100644 (file)
--- 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)