Changeset a8723748 in mainline for uspace/app/tmon/main.c


Ignore:
Timestamp:
2017-12-15T10:55:09Z (8 years ago)
Author:
Petr Mánek <petr.manek@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
64d138b
Parents:
837d53d
Message:

usbdiag: add server, dummy stubs and skeletons

File:
1 edited

Legend:

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

    r837d53d ra8723748  
    5252        }
    5353
    54         printf("The number is %d.\n", usb_diag_test(0));
     54        int out;
     55        const int rc = usb_diag_test(0, &out);
     56        if (rc) {
     57                printf("Error: %d\n", rc);
     58        } else {
     59                printf("The number is %d.\n", out);
     60        }
    5561
    5662        return 0;
Note: See TracChangeset for help on using the changeset viewer.