Changeset 23a0368 in mainline for uspace/drv/bus/isa/isa.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/drv/bus/isa/isa.c

    rb5b5d84 r23a0368  
    5454#include <ipc/irc.h>
    5555#include <ipc/services.h>
    56 #include <sys/stat.h>
     56#include <vfs/vfs.h>
    5757#include <irc.h>
    5858#include <ns.h>
     
    264264        opened = true;
    265265
    266         if (fstat(fd, &st) != EOK) {
    267                 ddf_msg(LVL_ERROR, "Unable to fstat %d", fd);
     266        if (vfs_stat(fd, &st) != EOK) {
     267                ddf_msg(LVL_ERROR, "Unable to vfs_stat %d", fd);
    268268                goto cleanup;
    269269        }
Note: See TracChangeset for help on using the changeset viewer.