diff options
Diffstat (limited to 'hardinfo2')
-rw-r--r-- | hardinfo2/cpu_util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hardinfo2/cpu_util.c b/hardinfo2/cpu_util.c index 30e11458..acbe63db 100644 --- a/hardinfo2/cpu_util.c +++ b/hardinfo2/cpu_util.c @@ -101,6 +101,7 @@ int cpu_procs_cores_threads_nodes(int *p, int *c, int *t, int *n) *t = cpubits_count(threads); *c = cpubits_count(cores); *p = cpubits_count(packs); + *n = 1; g_free(tmp); g_file_get_contents("/sys/devices/system/node/possible", &tmp, NULL, NULL); |