Changeset 9c4cf0d in mainline for uspace/lib/posix/source/fcntl.c
- Timestamp:
- 2017-04-02T11:24:06Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 151f1cc
- Parents:
- b19e892
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/source/fcntl.c
rb19e892 r9c4cf0d 142 142 rc = rcerrno(vfs_open, file, mode); 143 143 if (rc != EOK) { 144 close(file);144 vfs_put(file); 145 145 return -1; 146 146 } … … 150 150 rc = rcerrno(vfs_resize, file, 0); 151 151 if (rc != EOK) { 152 close(file);152 vfs_put(file); 153 153 return -1; 154 154 }
Note:
See TracChangeset
for help on using the changeset viewer.