aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2016-05-31 20:00:30 +0200
committerRickard Green <[email protected]>2016-05-31 20:00:30 +0200
commitfa0d9d191393e74a579f9c2cacb31b18f715ad6c (patch)
treecab1350ff630e24b9899e35d9af7f25f91848419 /erts
parent4d15511d6fe25ed15b6c1db00c23f1f4db1e9bb6 (diff)
downloadotp-fa0d9d191393e74a579f9c2cacb31b18f715ad6c.tar.gz
otp-fa0d9d191393e74a579f9c2cacb31b18f715ad6c.tar.bz2
otp-fa0d9d191393e74a579f9c2cacb31b18f715ad6c.zip
Fix bad assertion
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/beam/erl_message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_message.c b/erts/emulator/beam/erl_message.c
index ea525b50dd..71ab92937d 100644
--- a/erts/emulator/beam/erl_message.c
+++ b/erts/emulator/beam/erl_message.c
@@ -1345,7 +1345,7 @@ erts_prep_msgq_for_inspection(Process *c_p, Process *rp,
mpp = i == 0 ? &rp->msg.first : &mip[i-1].msgp->next;
- ASSERT((*mpp)->next == bad_mp);
+ ASSERT(*mpp == bad_mp);
erts_msgq_update_internal_pointers(&rp->msg, mpp, &bad_mp->next);