Changeset b7fd2a0 in mainline for uspace/lib/c/generic/dirent.c
- Timestamp:
- 2018-01-13T03:10:29Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a53ed3a
- Parents:
- 36f0738
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/dirent.c
r36f0738 rb7fd2a0 55 55 56 56 int fd; 57 int rc = vfs_lookup(dirname, WALK_DIRECTORY, &fd);57 errno_t rc = vfs_lookup(dirname, WALK_DIRECTORY, &fd); 58 58 if (rc != EOK) { 59 59 free(dirp); … … 83 83 struct dirent *readdir(DIR *dirp) 84 84 { 85 int rc;85 errno_t rc; 86 86 ssize_t len = 0; 87 87 … … 114 114 int closedir(DIR *dirp) 115 115 { 116 int rc = vfs_put(dirp->fd);116 errno_t rc = vfs_put(dirp->fd); 117 117 free(dirp); 118 118
Note:
See TracChangeset
for help on using the changeset viewer.