Changes in uspace/app/tester/chardev/chardev1.c [84239b1:f2d88f3] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/chardev/chardev1.c
r84239b1 rf2d88f3 1 1 /* 2 * Copyright (c) 201 7Jiri Svoboda2 * Copyright (c) 2019 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 76 76 TPRINTF("Sent %zu bytes\n", nbytes); 77 77 78 rc = chardev_read(chardev, small_buffer, SMALL_BUFFER_SIZE, &nbytes); 78 rc = chardev_read(chardev, small_buffer, SMALL_BUFFER_SIZE, &nbytes, 79 chardev_f_none); 79 80 if (rc != EOK) { 80 81 chardev_close(chardev); … … 128 129 TPRINTF("Sent %zu bytes\n", nbytes); 129 130 130 rc = chardev_read(chardev, large_buffer, LARGE_BUFFER_SIZE, &nbytes); 131 rc = chardev_read(chardev, large_buffer, LARGE_BUFFER_SIZE, &nbytes, 132 chardev_f_none); 131 133 if (rc != EOK) { 132 134 chardev_close(chardev); … … 181 183 str_error_name(rc)); 182 184 183 rc = chardev_read(chardev, small_buffer, SMALL_BUFFER_SIZE, &nbytes); 185 rc = chardev_read(chardev, small_buffer, SMALL_BUFFER_SIZE, &nbytes, 186 chardev_f_none); 184 187 if (rc != EIO || nbytes != 1) { 185 188 chardev_close(chardev);
Note:
See TracChangeset
for help on using the changeset viewer.