aboutsummaryrefslogtreecommitdiff
path: root/df.c
diff options
context:
space:
mode:
Diffstat (limited to 'df.c')
-rw-r--r--df.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/df.c b/df.c
index ba3227f30..8d457ec37 100644
--- a/df.c
+++ b/df.c
@@ -103,6 +103,9 @@ extern int df_main(int argc, char **argv)
103 } 103 }
104 104
105 while ((mountEntry = getmntent(mountTable))) { 105 while ((mountEntry = getmntent(mountTable))) {
106 if (strcmp(mountEntry->mnt_fsname, "none") == 0) {
107 continue;
108 }
106 df(mountEntry->mnt_fsname, mountEntry->mnt_dir); 109 df(mountEntry->mnt_fsname, mountEntry->mnt_dir);
107 } 110 }
108 endmntent(mountTable); 111 endmntent(mountTable);