aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2012-07-02 15:41:01 +0200
committerLukas Larsson <[email protected]>2012-07-02 15:41:01 +0200
commitd4599a2b7dc5441bb9bd71def0cfed8742c0a9c3 (patch)
tree4c408c4586799ea558082b7294ebf86dfb83597b /erts
parent1fc1233587a00b318ce15fd520b057dee726a7fc (diff)
downloadotp-d4599a2b7dc5441bb9bd71def0cfed8742c0a9c3.tar.gz
otp-d4599a2b7dc5441bb9bd71def0cfed8742c0a9c3.tar.bz2
otp-d4599a2b7dc5441bb9bd71def0cfed8742c0a9c3.zip
Use process macro instead of array
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/beam/erl_process_lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_process_lock.c b/erts/emulator/beam/erl_process_lock.c
index bae2b383a4..83272aab42 100644
--- a/erts/emulator/beam/erl_process_lock.c
+++ b/erts/emulator/beam/erl_process_lock.c
@@ -1272,7 +1272,7 @@ void erts_lcnt_enable_proc_lock_count(int enable) {
int i;
for (i = 0; i < erts_max_processes; ++i) {
- Process* p = process_tab[i];
+ Process* p = erts_pix2proc(i);
if (p) {
if (enable) {
if (!ERTS_LCNT_LOCK_TYPE(&(p->lock.lcnt_main))) {