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