Changeset 98b1d30 in mainline for uspace/app/tmon/tests.c
- Timestamp:
- 2018-02-03T10:52:17Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5c69377
- Parents:
- be01eb3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tmon/tests.c
rbe01eb3 r98b1d30 66 66 * @return EOK if successful (in such case caller becomes the owner of `params`). 67 67 */ 68 static int read_params(int argc, char *argv[], void **params)69 { 70 int rc;68 static errno_t read_params(int argc, char *argv[], void **params) 69 { 70 errno_t rc; 71 71 usbdiag_test_params_t *p = (usbdiag_test_params_t *) malloc(sizeof(usbdiag_test_params_t)); 72 72 if (!p) … … 182 182 183 183 usbdiag_test_results_t results; 184 int rc = usbdiag_test_in(exch, params, &results);184 errno_t rc = usbdiag_test_in(exch, params, &results); 185 185 if (rc != EOK) { 186 186 puts("failed\n"); … … 207 207 208 208 usbdiag_test_results_t results; 209 int rc = usbdiag_test_out(exch, params, &results);209 errno_t rc = usbdiag_test_out(exch, params, &results); 210 210 if (rc) { 211 211 puts("failed\n");
Note:
See TracChangeset
for help on using the changeset viewer.