Changes in uspace/app/df/df.c [6afc9d7:b5b5d84] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/df/df.c
r6afc9d7 rb5b5d84 40 40 #include <stdint.h> 41 41 #include <getopt.h> 42 #include <sys/statfs.h>43 42 #include <errno.h> 44 43 #include <adt/list.h> 45 44 #include <vfs/vfs.h> 45 #include <vfs/vfs_mtab.h> 46 46 47 47 #define NAME "df" … … 123 123 print_header(); 124 124 list_foreach(mtab_list, link, mtab_ent_t, mtab_ent) { 125 if ( statfs(mtab_ent->mp, &st) == 0) {125 if (vfs_statfs_path(mtab_ent->mp, &st) == 0) { 126 126 print_statfs(&st, mtab_ent->fs_name, mtab_ent->mp); 127 127 } else {
Note:
See TracChangeset
for help on using the changeset viewer.