Changeset 23a0368 in mainline for uspace/app/sysinst/futil.c


Ignore:
Timestamp:
2017-03-30T19:52:23Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ae7bfbbd
Parents:
b5b5d84
Message:

Rename stat() to vfs_stat_path() and fstat() to vfs_stat()

File:
1 edited

Legend:

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

    rb5b5d84 r23a0368  
    4040#include <stdlib.h>
    4141#include <sys/stat.h>
     42#include <vfs/vfs.h>
    4243#include <sys/types.h>
    4344#include <dirent.h>
     
    119120                        return ENOMEM;
    120121
    121                 rc = stat(srcp, &s);
     122                rc = vfs_stat_path(srcp, &s);
    122123                if (rc != EOK)
    123124                        return EIO;
     
    166167                return ENOENT;
    167168
    168         if (fstat(sf, &st) != EOK) {
     169        if (vfs_stat(sf, &st) != EOK) {
    169170                close(sf);
    170171                return EIO;
Note: See TracChangeset for help on using the changeset viewer.