Ignore:
File:
1 edited

Legend:

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

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