Changeset f77c1c9 in mainline for uspace/lib/bithenge/src/file.c
- Timestamp:
- 2017-12-08T21:03:35Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c19a5a59
- Parents:
- c1694b6b
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-07 19:44:55)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-08 21:03:35)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/bithenge/src/file.c
rc1694b6b rf77c1c9 145 145 assert(filename); 146 146 147 int fd = vfs_lookup_open(filename, WALK_REGULAR, MODE_READ); 148 if (fd < 0) 149 return errno; 147 int fd; 148 int rc = vfs_lookup_open(filename, WALK_REGULAR, MODE_READ, &fd); 149 if (rc != EOK) 150 return rc; 150 151 151 152 return new_file_blob(out, fd, true);
Note:
See TracChangeset
for help on using the changeset viewer.