Changeset 23a0368 in mainline for uspace/srv/devman/match.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/srv/devman/match.c

    rb5b5d84 r23a0368  
    3737#include <str_error.h>
    3838#include <sys/types.h>
    39 #include <sys/stat.h>
     39#include <vfs/vfs.h>
    4040
    4141#include "devman.h"
     
    211211        opened = true;
    212212       
    213         if (fstat(fd, &st) != EOK) {
     213        if (vfs_stat(fd, &st) != EOK) {
    214214                log_msg(LOG_DEFAULT, LVL_ERROR, "Unable to fstat %d: %s.", fd,
    215215                    str_error(errno));
Note: See TracChangeset for help on using the changeset viewer.