aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo2')
-rw-r--r--hardinfo2/cpu_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hardinfo2/cpu_util.c b/hardinfo2/cpu_util.c
index acbe63db..4248509b 100644
--- a/hardinfo2/cpu_util.c
+++ b/hardinfo2/cpu_util.c
@@ -113,7 +113,7 @@ int cpu_procs_cores_threads_nodes(int *p, int *c, int *t, int *n)
}
if (!*c)
- *c = 1;
+ *c = *t; //if no cores, set to threads - probably SBC, best for benchmark
if (!*p)
*p = 1;
if (!*n)