diff options
author | Burt P <pburt0@gmail.com> | 2017-08-14 06:41:45 -0500 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2017-08-21 05:47:00 -0700 |
commit | bad495ac4d87f489e1b45e3f2f9acbf026c501bb (patch) | |
tree | 74e7ccb3fc8bd36b0da7e21aa51979f4d66cc681 | |
parent | a702a6ca017925272ce87fc939c4489a0fe060ff (diff) |
bench_results: clean key in result list
Signed-off-by: Burt P <pburt0@gmail.com>
-rw-r--r-- | modules/benchmark.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/benchmark.c b/modules/benchmark.c index 6a59357b..45f74ecd 100644 --- a/modules/benchmark.c +++ b/modules/benchmark.c @@ -207,8 +207,7 @@ gchar *hi_get_field(gchar * field) static void br_mi_add(char **results_list, bench_result *b) { gchar *ckey, *rkey; - //ckey = hardinfo_clean_label(b->machine->cpu_name, 0); - ckey = strdup(b->machine->cpu_name); + ckey = hardinfo_clean_label(b->machine->cpu_name, 0); rkey = strdup(b->machine->mid); *results_list = h_strdup_cprintf("$%s$%s=%.2f|%s\n", *results_list, rkey, ckey, |