From 122ec6ae462b5608f61ecc5734b0f0b20eb898c4 Mon Sep 17 00:00:00 2001 From: bigbear Date: Thu, 8 Feb 2024 02:41:28 +0100 Subject: PR665 - fix numa node uninitialized --- hardinfo2/cpu_util.c | 1 + 1 file changed, 1 insertion(+) (limited to 'hardinfo2') 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); -- cgit v1.2.3