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