Changes in uspace/app/tester/chardev/chardev1.c [b7fd2a0:57914494] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/chardev/chardev1.c
rb7fd2a0 r57914494 28 28 29 29 #include <errno.h> 30 #include <str_error.h>31 30 #include <ipc/services.h> 32 31 #include <io/chardev.h> … … 47 46 async_sess_t *sess; 48 47 size_t nbytes; 49 errno_t rc;48 int rc; 50 49 51 50 TPRINTF("Test small transfer character device operations\n"); … … 99 98 async_sess_t *sess; 100 99 size_t nbytes; 101 errno_t rc;100 int rc; 102 101 103 102 TPRINTF("Test large transfer character device operations\n"); … … 151 150 async_sess_t *sess; 152 151 size_t nbytes; 153 errno_t rc;152 int rc; 154 153 155 154 TPRINTF("Test partially-successful character device operations\n"); … … 178 177 } 179 178 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); 182 180 183 181 rc = chardev_read(chardev, small_buffer, SMALL_BUFFER_SIZE, &nbytes); … … 188 186 } 189 187 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); 192 189 193 190 chardev_close(chardev);
Note:
See TracChangeset
for help on using the changeset viewer.