Changeset 9736c00 in mainline
- Timestamp:
- 2019-01-21T13:50:08Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2d81880
- Parents:
- be30e74
- Location:
- uspace/app/hbench
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/hbench/hbench.h
rbe30e74 r9736c00 54 54 typedef struct { 55 55 stopwatch_t stopwatch; 56 char *error_ buffer;57 size_t error_ buffer_size;56 char *error_message; 57 size_t error_message_buffer_size; 58 58 } bench_run_t; 59 59 -
uspace/app/hbench/utils.c
rbe30e74 r9736c00 47 47 { 48 48 stopwatch_init(&run->stopwatch); 49 run->error_ buffer= error_buffer;50 run->error_ buffer_size = error_buffer_size;49 run->error_message = error_buffer; 50 run->error_message_buffer_size = error_buffer_size; 51 51 } 52 52 … … 70 70 va_list args; 71 71 va_start(args, fmt); 72 vsnprintf(run->error_ buffer, run->error_buffer_size, fmt, args);72 vsnprintf(run->error_message, run->error_message_buffer_size, fmt, args); 73 73 va_end(args); 74 74
Note:
See TracChangeset
for help on using the changeset viewer.