Changeset 98b1d30 in mainline for uspace/app/tmon/tests.c


Ignore:
Timestamp:
2018-02-03T10:52:17Z (7 years ago)
Author:
Petr Manek <petr.manek@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5c69377
Parents:
be01eb3
Message:

tmon: refactor to errno_t

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tmon/tests.c

    rbe01eb3 r98b1d30  
    6666 * @return EOK if successful (in such case caller becomes the owner of `params`).
    6767 */
    68 static int read_params(int argc, char *argv[], void **params)
    69 {
    70         int rc;
     68static errno_t read_params(int argc, char *argv[], void **params)
     69{
     70        errno_t rc;
    7171        usbdiag_test_params_t *p = (usbdiag_test_params_t *) malloc(sizeof(usbdiag_test_params_t));
    7272        if (!p)
     
    182182
    183183        usbdiag_test_results_t results;
    184         int rc = usbdiag_test_in(exch, params, &results);
     184        errno_t rc = usbdiag_test_in(exch, params, &results);
    185185        if (rc != EOK) {
    186186                puts("failed\n");
     
    207207
    208208        usbdiag_test_results_t results;
    209         int rc = usbdiag_test_out(exch, params, &results);
     209        errno_t rc = usbdiag_test_out(exch, params, &results);
    210210        if (rc) {
    211211                puts("failed\n");
Note: See TracChangeset for help on using the changeset viewer.