Changeset 6e5562a in mainline for uspace/app/sysinst/futil.c


Ignore:
Timestamp:
2017-03-31T19:57:38Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
80743a1
Parents:
a56cef9
Message:

Introduce vfs_link_path() and replace mkdir() with it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/sysinst/futil.c

    ra56cef9 r6e5562a  
    3939#include <stdio.h>
    4040#include <stdlib.h>
    41 #include <sys/stat.h>
    4241#include <vfs/vfs.h>
    4342#include <sys/types.h>
     
    130129                } else if (s.is_directory) {
    131130                        printf("Create directory '%s'\n", destp);
    132                         rc = mkdir(destp, 0);
     131                        rc = vfs_link_path(destp, KIND_DIRECTORY);
    133132                        if (rc != EOK)
    134133                                return EIO;
Note: See TracChangeset for help on using the changeset viewer.