aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/benchmark/bench_results.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/benchmark/bench_results.c b/modules/benchmark/bench_results.c
index cdc80461..84a460c4 100644
--- a/modules/benchmark/bench_results.c
+++ b/modules/benchmark/bench_results.c
@@ -148,7 +148,7 @@ static void gen_machine_id(bench_machine *m)
(m->board != NULL) ? m->board : "(Unknown)",
m->cpu_name, cpu_config_val(m->cpu_config));
for (s = m->mid; *s; s++) {
- if (!isalnum(*s) && (*s != '(' || *s != ')' || *s != ';'))
+ if (!isalnum(*s) && *s != '(' && *s != ')' && *s != ';')
*s = '_';
}
}