Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 9736c00 in mainline


Ignore:
Timestamp:
2019-01-21T13:50:08Z (2 years ago)
Author:
Vojtech Horky <vojtech.horky@…>
Branches:
lfn, master
Children:
2d81880
Parents:
be30e74
Message:

hbench: variable renaming

Location:
uspace/app/hbench
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/hbench/hbench.h

    rbe30e74 r9736c00  
    5454typedef struct {
    5555        stopwatch_t stopwatch;
    56         char *error_buffer;
    57         size_t error_buffer_size;
     56        char *error_message;
     57        size_t error_message_buffer_size;
    5858} bench_run_t;
    5959
  • uspace/app/hbench/utils.c

    rbe30e74 r9736c00  
    4747{
    4848        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;
    5151}
    5252
     
    7070        va_list args;
    7171        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);
    7373        va_end(args);
    7474
Note: See TracChangeset for help on using the changeset viewer.