Changeset c1694b6b in mainline for uspace/app/tester/vfs/vfs1.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/vfs/vfs1.c
r9eb1ff5 rc1694b6b 31 31 #include <stdlib.h> 32 32 #include <stddef.h> 33 #include <str_error.h> 33 34 #include <str.h> 34 35 #include <vfs/vfs.h> … … 95 96 TPRINTF("read..\n"); 96 97 while ((rc = vfs_read(fd0, &pos, buf, BUF_SIZE, &cnt))) { 97 TPRINTF("read returns rc = % d, cnt = %zu\n", rc, cnt);98 TPRINTF("read returns rc = %s, cnt = %zu\n", str_error_name(rc), cnt); 98 99 if (rc != EOK) 99 100 return "read() failed";
Note:
See TracChangeset
for help on using the changeset viewer.