Changeset b19e892 in mainline for uspace/drv/bus/isa/isa.c


Ignore:
Timestamp:
2017-04-02T10:39:13Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9c4cf0d
Parents:
80743a1
Message:

Merge open() with posix_open() and provide vfs_lookup_open() instead

vfs_lookup_open() is really just a convenience wrapper around
vfs_lookup() and vfs_open().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/isa/isa.c

    r80743a1 rb19e892  
    5151#include <malloc.h>
    5252#include <dirent.h>
    53 #include <fcntl.h>
    5453#include <ipc/irc.h>
    5554#include <ipc/services.h>
     
    256255        struct stat st;
    257256
    258         fd = open(conf_path, O_RDONLY);
     257        fd = vfs_lookup_open(conf_path, WALK_REGULAR, MODE_READ);
    259258        if (fd < 0) {
    260259                ddf_msg(LVL_ERROR, "Unable to open %s", conf_path);
Note: See TracChangeset for help on using the changeset viewer.