Changeset c1694b6b in mainline for uspace/app/tester/chardev/chardev1.c
- Timestamp:
- 2017-12-08T21:03:35Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f77c1c9
- Parents:
- 9eb1ff5
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-07 18:20:13)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-08 21:03:35)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/chardev/chardev1.c
r9eb1ff5 rc1694b6b 28 28 29 29 #include <errno.h> 30 #include <str_error.h> 30 31 #include <ipc/services.h> 31 32 #include <io/chardev.h> … … 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.