Ignore:
File:
1 edited

Legend:

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

    r7f9d97f3 r1d6dd2a  
    4747#include <compiler/barrier.h>
    4848#include <futex.h>
     49#include <str.h>
    4950
    5051#include <rcu.h>
     
    126127                thread_id_t tid;
    127128                /* Also sets up a fibril for the thread. */
    128                 int ret = thread_create(thread_func, bench, "rcubench-t", &tid);
     129                errno_t ret = thread_create(thread_func, bench, "rcubench-t", &tid);
    129130                if (ret != EOK) {
    130131                        printf("Error: Failed to create benchmark thread.\n");
     
    217218        /* Determine iteration count. */
    218219        uint32_t iter_cnt = 0;
    219         int ret = str_uint32_t(argv[2], NULL, 0, true, &iter_cnt);
     220        errno_t ret = str_uint32_t(argv[2], NULL, 0, true, &iter_cnt);
    220221
    221222        if (ret == EOK && 1 <= iter_cnt) {
Note: See TracChangeset for help on using the changeset viewer.