aboutsummaryrefslogtreecommitdiffstats
path: root/erts/lib_src
diff options
context:
space:
mode:
authorBruce Yinhe <[email protected]>2014-10-28 09:35:22 +0100
committerBruce Yinhe <[email protected]>2014-10-28 09:35:22 +0100
commit7d08338b0742fd4b24cdd87ee9f098ec09fcecea (patch)
tree5f4a0e0d0cf236cf823828313908c369d9c61cf3 /erts/lib_src
parentaa23fa48785286688204ac10cc71acc0a07496cf (diff)
parent3f5685c7354dc481294013cf86d2f9621300c139 (diff)
downloadotp-7d08338b0742fd4b24cdd87ee9f098ec09fcecea.tar.gz
otp-7d08338b0742fd4b24cdd87ee9f098ec09fcecea.tar.bz2
otp-7d08338b0742fd4b24cdd87ee9f098ec09fcecea.zip
Merge branch 'maint'
Diffstat (limited to 'erts/lib_src')
-rw-r--r--erts/lib_src/common/erl_misc_utils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/lib_src/common/erl_misc_utils.c b/erts/lib_src/common/erl_misc_utils.c
index d58a28b5cb..7833dd8219 100644
--- a/erts/lib_src/common/erl_misc_utils.c
+++ b/erts/lib_src/common/erl_misc_utils.c
@@ -1515,7 +1515,7 @@ const char* parse_topology_spec_group(erts_cpu_info_t *cpuinfo, const char* xml,
if (is_thread_group) {
thread++;
} else {
- *core_p = (*core_p)++;
+ *core_p = (*core_p) + 1;
}
index_procs++;
}
@@ -1535,9 +1535,9 @@ const char* parse_topology_spec_group(erts_cpu_info_t *cpuinfo, const char* xml,
if (parentCacheLevel == 0) {
*core_p = 0;
- *processor_p = (*processor_p)++;
+ *processor_p = (*processor_p) + 1;
} else {
- *core_p = (*core_p)++;
+ *core_p = (*core_p) + 1;
}
if (error)