Changeset 5a6cc679 in mainline for uspace/app/rcubench/rcubench.c


Ignore:
Timestamp:
2018-01-31T02:21:24Z (7 years ago)
Author:
Jenda <jenda.jzqk73@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a0a9cc2
Parents:
132ab5d1
Message:

Merge commit '50f19b7ee8e94570b5c63896736c4eb49cfa18db' into forwardport

Not all ints are converted to errno_t in xhci tree yet, however it compiles and works :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/rcubench/rcubench.c

    r132ab5d1 r5a6cc679  
    126126                thread_id_t tid;
    127127                /* Also sets up a fibril for the thread. */
    128                 int ret = thread_create(thread_func, bench, "rcubench-t", &tid);
     128                errno_t ret = thread_create(thread_func, bench, "rcubench-t", &tid);
    129129                if (ret != EOK) {
    130130                        printf("Error: Failed to create benchmark thread.\n");
     
    217217        /* Determine iteration count. */
    218218        uint32_t iter_cnt = 0;
    219         int ret = str_uint32_t(argv[2], NULL, 0, true, &iter_cnt);
     219        errno_t ret = str_uint32_t(argv[2], NULL, 0, true, &iter_cnt);
    220220
    221221        if (ret == EOK && 1 <= iter_cnt) {
Note: See TracChangeset for help on using the changeset viewer.