Changes in uspace/lib/c/generic/vfs/mtab.c [a53ed3a:d5c1051] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/vfs/mtab.c
ra53ed3a rd5c1051 62 62 } 63 63 64 static errno_t vfs_get_mtab_visit(const char *path, list_t *mtab_list,64 static int vfs_get_mtab_visit(const char *path, list_t *mtab_list, 65 65 fs_handle_t fs_handle, service_id_t service_id) 66 66 { … … 75 75 char *child; 76 76 struct stat st; 77 errno_t rc;77 int rc; 78 78 int ret; 79 79 … … 95 95 96 96 rc = vfs_stat_path(child, &st); 97 if (rc != EOK) {97 if (rc != 0) { 98 98 free(child); 99 99 closedir(dir); … … 120 120 } 121 121 122 errno_t vfs_get_mtab_list(list_t *mtab_list)122 int vfs_get_mtab_list(list_t *mtab_list) 123 123 { 124 124 struct stat st; 125 125 126 errno_t rc = vfs_stat_path("/", &st);127 if (rc != EOK)126 int rc = vfs_stat_path("/", &st); 127 if (rc != 0) 128 128 return rc; 129 129
Note:
See TracChangeset
for help on using the changeset viewer.