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