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