Changes in uspace/app/tester/hw/misc/virtchar1.c [6afc9d7:b713ff80] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/hw/misc/virtchar1.c
r6afc9d7 rb713ff80 40 40 #include <sys/types.h> 41 41 #include <async.h> 42 #include <unistd.h> 43 #include <char_dev_iface.h> 42 #include <device/char_dev.h> 44 43 #include <str.h> 45 44 #include <vfs/vfs.h> … … 58 57 int fd = open(path, O_RDONLY); 59 58 if (fd < 0) { 60 TPRINTF(" ...error: %s\n", str_error( errno));59 TPRINTF(" ...error: %s\n", str_error(fd)); 61 60 if (fd == ENOENT) { 62 61 TPRINTF(" (error was ENOENT: " \ … … 69 68 70 69 TPRINTF(" Asking for session...\n"); 71 async_sess_t *sess = vfs_fd_session(fd, INTERFACE_DDF);70 async_sess_t *sess = fd_session(EXCHANGE_SERIALIZE, fd); 72 71 if (!sess) { 73 72 close(fd);
Note:
See TracChangeset
for help on using the changeset viewer.