Changeset 23a0368 in mainline for uspace/app/init/init.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/init/init.c

    rb5b5d84 r23a0368  
    4242#include <errno.h>
    4343#include <fcntl.h>
    44 #include <sys/stat.h>
    4544#include <task.h>
    4645#include <malloc.h>
     
    156155{
    157156        struct stat s;
    158         if (stat(path, &s) != 0) {
     157        if (vfs_stat_path(path, &s) != EOK) {
    159158                printf("%s: Unable to stat %s\n", NAME, path);
    160159                return ENOENT;
Note: See TracChangeset for help on using the changeset viewer.