Changeset 6e5562a in mainline for uspace/app/tester/vfs/vfs1.c
- Timestamp:
- 2017-03-31T19:57:38Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 80743a1
- Parents:
- a56cef9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/vfs/vfs1.c
ra56cef9 r6e5562a 37 37 #include <loc.h> 38 38 #include <sys/types.h> 39 #include <sys/stat.h>40 39 #include "../tester.h" 41 40 … … 71 70 { 72 71 aoff64_t pos = 0; 72 int rc; 73 73 74 if (mkdir(TEST_DIRECTORY, 0) != 0) { 75 TPRINTF("rc=%d\n", errno); 76 return "mkdir() failed"; 74 rc = vfs_link_path(TEST_DIRECTORY, KIND_DIRECTORY); 75 if (rc != EOK) { 76 TPRINTF("rc=%d\n", rc); 77 return "vfs_link_path() failed"; 77 78 } 78 79 TPRINTF("Created directory %s\n", TEST_DIRECTORY);
Note:
See TracChangeset
for help on using the changeset viewer.