Changeset 46577995 in mainline for uspace/app/rcubench/rcubench.c
- Timestamp:
- 2018-01-04T20:50:52Z (8 years ago)
- Children:
- e211ea04
- Parents:
- facacc71
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:47:53)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:50:52)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/rcubench/rcubench.c
rfacacc71 r46577995 126 126 thread_id_t tid; 127 127 /* 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); 129 129 if (ret != EOK) { 130 130 printf("Error: Failed to create benchmark thread.\n"); … … 217 217 /* Determine iteration count. */ 218 218 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); 220 220 221 221 if (ret == EOK && 1 <= iter_cnt) {
Note:
See TracChangeset
for help on using the changeset viewer.