Changeset 5a6cc679 in mainline for uspace/lib/c/generic/vfs/mtab.c
- Timestamp:
- 2018-01-31T02:21:24Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a0a9cc2
- Parents:
- 132ab5d1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/vfs/mtab.c
r132ab5d1 r5a6cc679 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.