Changes in uspace/lib/bithenge/src/file.c [6afc9d7:6cd10ac] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/bithenge/src/file.c
r6afc9d7 r6cd10ac 114 114 struct stat stat; 115 115 int rc = fstat(fd, &stat); 116 if (rc != 0) {116 if (rc != EOK) { 117 117 if (needs_close) 118 118 close(fd); … … 157 157 int fd = open(filename, O_RDONLY); 158 158 if (fd < 0) 159 return errno;159 return fd; 160 160 161 161 return new_file_blob(out, fd, true);
Note:
See TracChangeset
for help on using the changeset viewer.