Ignore:
File:
1 edited

Legend:

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

    r7551706b rb927375  
    4040#include <sys/types.h>
    4141#include <async.h>
    42 #include <device/char.h>
     42#include <device/char_dev.h>
    4343#include <str.h>
    4444#include <vfs/vfs.h>
    4545#include <sys/stat.h>
    4646#include <fcntl.h>
    47 #include <device/char.h>
    4847#include "../../tester.h"
    4948
    50 #define DEVICE_PATH_NORMAL "/dev/devices/\\virt\\null"
     49#define DEVICE_PATH_NORMAL "/dev/devices/\\virt\\null\\a"
    5150#define DEVICE_PATH_CLASSES "/dev/class/virt-null\\1"
    5251#define BUFFER_SIZE 64
     
    7978        size_t i;
    8079        char buffer[BUFFER_SIZE];
    81         read_dev(phone, buffer, BUFFER_SIZE);
     80        char_dev_read(phone, buffer, BUFFER_SIZE);
    8281        TPRINTF(" ...verifying that we read zeroes only...\n");
    8382        for (i = 0; i < BUFFER_SIZE; i++) {
     
    9089        /* Clean-up. */
    9190        TPRINTF(" Closing phones and file descriptors\n");
    92         ipc_hangup(phone);
     91        async_hangup(phone);
    9392        close(fd);
    9493       
Note: See TracChangeset for help on using the changeset viewer.