Changes in uspace/lib/c/generic/vfs/mtab.c [5a6cc679:a35b458] in mainline
- File:
-
- 1 edited
-
uspace/lib/c/generic/vfs/mtab.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/vfs/mtab.c
r5a6cc679 ra35b458 40 40 #include <errno.h> 41 41 #include <assert.h> 42 #include <str.h> 42 43 43 static void process_mp(const char *path, struct stat *stat, list_t *mtab_list)44 static void process_mp(const char *path, vfs_stat_t *stat, list_t *mtab_list) 44 45 { 45 46 mtab_ent_t *ent; … … 53 54 ent->service_id = stat->service_id; 54 55 55 struct statfsstfs;56 vfs_statfs_t stfs; 56 57 if (vfs_statfs_path(path, &stfs) == EOK) 57 58 str_cpy(ent->fs_name, sizeof(ent->fs_name), stfs.fs_name); 58 59 else 59 60 str_cpy(ent->fs_name, sizeof(ent->fs_name), "?"); 60 61 61 62 list_append(&ent->link, mtab_list); 62 63 } … … 74 75 while ((dirent = readdir(dir)) != NULL) { 75 76 char *child; 76 struct stat st;77 vfs_stat_t st; 77 78 errno_t rc; 78 79 int ret; … … 122 123 errno_t vfs_get_mtab_list(list_t *mtab_list) 123 124 { 124 struct stat st;125 vfs_stat_t st; 125 126 126 127 errno_t rc = vfs_stat_path("/", &st);
Note:
See TracChangeset
for help on using the changeset viewer.
