Commit 6c5a7591 authored by Manuel Mohr's avatar Manuel Mohr
Browse files

Use correct array index.

parent 95e2fc25
......@@ -780,7 +780,7 @@ static void be_main_loop(FILE *file_handle, const char *cup_name)
char buf[128];
snprintf(buf, sizeof(buf), "bemain_time_%s",
get_timer_name(t));
stat_ev_dbl(buf, ir_timer_elapsed_usec(be_timers[i]));
stat_ev_dbl(buf, ir_timer_elapsed_usec(be_timers[t]));
}
} else {
printf("==>> IRG %s <<==\n",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment