Changeset 46577995 in mainline for uspace/lib/c/generic/dirent.c
- Timestamp:
- 2018-01-04T20:50:52Z (7 years ago)
- Children:
- e211ea04
- Parents:
- facacc71
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:47:53)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:50:52)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/dirent.c
rfacacc71 r46577995 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.