Changeset b19e892 in mainline for uspace/app/tester/mm/pager1.c
- Timestamp:
- 2017-04-02T10:39:13Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9c4cf0d
- Parents:
- 80743a1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/mm/pager1.c
r80743a1 rb19e892 29 29 #include <stdio.h> 30 30 #include <vfs/vfs.h> 31 #include <fcntl.h>32 31 #include <stdlib.h> 33 32 #include <malloc.h> … … 48 47 TPRINTF("Creating temporary file...\n"); 49 48 50 fd = open(TEST_FILE, O_RDWR | O_CREAT); 49 fd = vfs_lookup_open(TEST_FILE, WALK_REGULAR | WALK_MAY_CREATE, 50 MODE_READ | MODE_WRITE); 51 51 if (fd < 0) 52 52 return NULL;
Note:
See TracChangeset
for help on using the changeset viewer.