Skip to content

Commit

Permalink
Update memtier_benchmark.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Yossi Gottlieb <[email protected]>
  • Loading branch information
filipecosta90 and yossigo authored Jan 23, 2024
1 parent e992ad0 commit b3568d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion memtier_benchmark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1675,7 +1675,7 @@ int main(int argc, char *argv[])
run_stats average(&cfg);
average.aggregate_average(all_stats);
char average_header[50];
snprintf(average_header, 50, "AGGREGATED AVERAGE RESULTS (%u runs)", cfg.run_count);
snprintf(average_header, sizeof(average_header) , "AGGREGATED AVERAGE RESULTS (%u runs)", cfg.run_count);
average.print(outfile, &cfg, average_header, jsonhandler);
} else {
all_stats.begin()->print(outfile, &cfg, "ALL STATS", jsonhandler);
Expand Down

0 comments on commit b3568d8

Please sign in to comment.