Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tester/hw/misc/virtchar1.c

    r6afc9d7 rb713ff80  
    4040#include <sys/types.h>
    4141#include <async.h>
    42 #include <unistd.h>
    43 #include <char_dev_iface.h>
     42#include <device/char_dev.h>
    4443#include <str.h>
    4544#include <vfs/vfs.h>
     
    5857        int fd = open(path, O_RDONLY);
    5958        if (fd < 0) {
    60                 TPRINTF("   ...error: %s\n", str_error(errno));
     59                TPRINTF("   ...error: %s\n", str_error(fd));
    6160                if (fd == ENOENT) {
    6261                        TPRINTF("   (error was ENOENT: " \
     
    6968       
    7069        TPRINTF(" Asking for session...\n");
    71         async_sess_t *sess = vfs_fd_session(fd, INTERFACE_DDF);
     70        async_sess_t *sess = fd_session(EXCHANGE_SERIALIZE, fd);
    7271        if (!sess) {
    7372                close(fd);
Note: See TracChangeset for help on using the changeset viewer.