Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tester/chardev/chardev1.c

    rb7fd2a0 r57914494  
    2828
    2929#include <errno.h>
    30 #include <str_error.h>
    3130#include <ipc/services.h>
    3231#include <io/chardev.h>
     
    4746        async_sess_t *sess;
    4847        size_t nbytes;
    49         errno_t rc;
     48        int rc;
    5049
    5150        TPRINTF("Test small transfer character device operations\n");
     
    9998        async_sess_t *sess;
    10099        size_t nbytes;
    101         errno_t rc;
     100        int rc;
    102101
    103102        TPRINTF("Test large transfer character device operations\n");
     
    151150        async_sess_t *sess;
    152151        size_t nbytes;
    153         errno_t rc;
     152        int rc;
    154153
    155154        TPRINTF("Test partially-successful character device operations\n");
     
    178177        }
    179178
    180         TPRINTF("Sent %zu bytes and got rc = %s (expected)\n", nbytes,
    181             str_error_name(rc));
     179        TPRINTF("Sent %zu bytes and got rc = %d (expected)\n", nbytes, rc);
    182180
    183181        rc = chardev_read(chardev, small_buffer, SMALL_BUFFER_SIZE, &nbytes);
     
    188186        }
    189187
    190         TPRINTF("Received %zu bytes and got rc = %s (expected)\n", nbytes,
    191             str_error_name(rc));
     188        TPRINTF("Received %zu bytes and got rc = %d (expected)\n", nbytes, rc);
    192189
    193190        chardev_close(chardev);
Note: See TracChangeset for help on using the changeset viewer.