Changes in uspace/app/tester/hw/misc/virtchar1.c [b713ff80:12f9f0d0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/hw/misc/virtchar1.c
rb713ff80 r12f9f0d0 48 48 #include "../../tester.h" 49 49 50 #define DEVICE_PATH_NORMAL "/loc/devices/\\virt\\null\\a" 51 52 #define BUFFER_SIZE 64 50 #define DEVICE_PATH_NORMAL "/loc/devices/\\virt\\null\\a" 51 #define BUFFER_SIZE 64 53 52 54 53 static const char *test_virtchar1_internal(const char *path) … … 66 65 67 66 TPRINTF(" ...file handle %d\n", fd); 68 67 69 68 TPRINTF(" Asking for session...\n"); 70 69 async_sess_t *sess = fd_session(EXCHANGE_SERIALIZE, fd); … … 97 96 98 97 const char *test_virtchar1(void) 99 { 100 const char *res = test_virtchar1_internal(DEVICE_PATH_NORMAL); 101 if (res != NULL) 98 {; 99 const char *res; 100 101 res = test_virtchar1_internal(DEVICE_PATH_NORMAL); 102 if (res != NULL) { 102 103 return res; 103 104 } 105 104 106 return NULL; 105 107 }
Note:
See TracChangeset
for help on using the changeset viewer.