Changeset ff381a7 in mainline for uspace/app/df/df.c
- Timestamp:
- 2015-11-02T20:54:19Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d8513177
- Parents:
- 3feeab2 (diff), 5265eea4 (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
r3feeab2 rff381a7 119 119 120 120 LIST_INITIALIZE(mtab_list); 121 get_mtab_list(&mtab_list);121 vfs_get_mtab_list(&mtab_list); 122 122 123 123 print_header(); 124 124 list_foreach(mtab_list, link, mtab_ent_t, mtab_ent) { 125 statfs(mtab_ent->mp, &st); 126 print_statfs(&st, mtab_ent->fs_name, mtab_ent->mp); 125 if (statfs(mtab_ent->mp, &st) == 0) { 126 print_statfs(&st, mtab_ent->fs_name, mtab_ent->mp); 127 } else { 128 fprintf(stderr, "Cannot get information for '%s' (%d).\n", 129 mtab_ent->mp, errno); 130 } 127 131 } 128 132
Note:
See TracChangeset
for help on using the changeset viewer.