Changeset 23a0368 in mainline for uspace/app/viewer/viewer.c


Ignore:
Timestamp:
2017-03-30T19:52:23Z (8 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/viewer/viewer.c

    rb5b5d84 r23a0368  
    3636#include <unistd.h>
    3737#include <fcntl.h>
    38 #include <sys/stat.h>
     38#include <vfs/vfs.h>
    3939#include <errno.h>
    4040#include <malloc.h>
     
    115115       
    116116        struct stat stat;
    117         int rc = fstat(fd, &stat);
    118         if (rc != 0) {
     117        int rc = vfs_stat(fd, &stat);
     118        if (rc != EOK) {
    119119                close(fd);
    120120                return false;
Note: See TracChangeset for help on using the changeset viewer.