Changeset 8e3498b in mainline for uspace/app/tester/mm/pager1.c
- Timestamp:
- 2017-12-04T18:44:24Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bde5c04
- Parents:
- 40feeac
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/mm/pager1.c
r40feeac r8e3498b 44 44 static void *create_paged_area(size_t size) 45 45 { 46 size_t nwr; 47 int rc; 48 46 49 TPRINTF("Creating temporary file...\n"); 47 50 … … 52 55 (void) vfs_unlink_path(TEST_FILE); 53 56 54 if (vfs_write(fd, (aoff64_t []) {0}, text, sizeof(text)) < 0) { 57 rc = vfs_write(fd, (aoff64_t []) {0}, text, sizeof(text), &nwr); 58 if (rc != EOK) { 55 59 vfs_put(fd); 56 60 return NULL;
Note:
See TracChangeset
for help on using the changeset viewer.