Changeset 6e5562a in mainline for uspace/app/sysinst
- Timestamp:
- 2017-03-31T19:57:38Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 80743a1
- Parents:
- a56cef9
- Location:
- uspace/app/sysinst
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/sysinst/futil.c
ra56cef9 r6e5562a 39 39 #include <stdio.h> 40 40 #include <stdlib.h> 41 #include <sys/stat.h>42 41 #include <vfs/vfs.h> 43 42 #include <sys/types.h> … … 130 129 } else if (s.is_directory) { 131 130 printf("Create directory '%s'\n", destp); 132 rc = mkdir(destp, 0);131 rc = vfs_link_path(destp, KIND_DIRECTORY); 133 132 if (rc != EOK) 134 133 return EIO; -
uspace/app/sysinst/sysinst.c
ra56cef9 r6e5562a 43 43 #include <stdio.h> 44 44 #include <stdlib.h> 45 #include <sys/stat.h>46 45 #include <task.h> 47 46 #include <vfs/vfs.h> … … 175 174 return EIO; 176 175 177 rc = mkdir(MOUNT_POINT, 0);176 rc = vfs_link_path(MOUNT_POINT, KIND_DIRECTORY); 178 177 if (rc != EOK) 179 178 return rc; … … 214 213 215 214 printf("sysinst_copy_boot_files(): create CD mount point\n"); 216 rc = mkdir(CD_MOUNT_POINT, 0);215 rc = vfs_link_path(CD_MOUNT_POINT, KIND_DIRECTORY); 217 216 if (rc != EOK) 218 217 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.
