Changeset 368ee04 in mainline for uspace/app/df/df.c
- Timestamp:
- 2017-04-05T18:10:39Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 93ad8166
- Parents:
- 39f892a9 (diff), 2166728 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/df/df.c
r39f892a9 r368ee04 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.