From 3de44158b34333b2140eddaa3ce8a306b7424004 Mon Sep 17 00:00:00 2001 From: Ondrej Čerman Date: Tue, 2 Nov 2021 21:04:02 +0100 Subject: modules/devices: fixed CPU topology string when nodes == 1 --- modules/devices.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/devices.c b/modules/devices.c index 0f33af48..1672d550 100644 --- a/modules/devices.c +++ b/modules/devices.c @@ -186,7 +186,7 @@ gchar *processor_describe_default(GSList * processors) ret = g_strdup_printf(full_fmt, packs, cores * nodes, nodes, threads); } else { full_fmt = g_strdup_printf(_(/*/NP procs; NC cores; NT threads*/ "%s; %s; %s"), packs_fmt, cores_fmt, threads_fmt); - ret = g_strdup_printf(full_fmt, packs, cores, nodes, threads); + ret = g_strdup_printf(full_fmt, packs, cores, threads); } g_free(full_fmt); return ret; -- cgit v1.2.3