aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Guyot <[email protected]>2011-05-21 09:45:59 +0200
committerPaul Guyot <[email protected]>2011-05-21 09:45:59 +0200
commita13caa7beeec4c54f3879da694231b81b3a7a36d (patch)
tree14d28428a40b31ee5426d76766946ceef6b88992
parent5f7fa62cbfa18b88fc254fe362b11367177d2673 (diff)
downloadotp-a13caa7beeec4c54f3879da694231b81b3a7a36d.tar.gz
otp-a13caa7beeec4c54f3879da694231b81b3a7a36d.tar.bz2
otp-a13caa7beeec4c54f3879da694231b81b3a7a36d.zip
Fix bug in FreeBSD topology detection code
-rw-r--r--erts/lib_src/common/erl_misc_utils.c2
1 files changed, 1 insertions, 1 deletions
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 {