From a13caa7beeec4c54f3879da694231b81b3a7a36d Mon Sep 17 00:00:00 2001 From: Paul Guyot Date: Sat, 21 May 2011 09:45:59 +0200 Subject: Fix bug in FreeBSD topology detection code --- erts/lib_src/common/erl_misc_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'erts') diff --git a/erts/lib_src/common/erl_misc_utils.c b/erts/lib_src/common/erl_misc_utils.c index ec729407bb..b738e47ded 100644 --- a/erts/lib_src/common/erl_misc_utils.c +++ b/erts/lib_src/common/erl_misc_utils.c @@ -1511,7 +1511,7 @@ const char* parse_topology_spec_group(erts_cpu_info_t *cpuinfo, const char* xml, } } - if (cacheLevel == 0) { + if (parentCacheLevel == 0) { *core_p = 0; *processor_p = (*processor_p)++; } else { -- cgit v1.2.3