aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/beam_emu.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2017-06-29 14:44:40 +0200
committerSverker Eriksson <[email protected]>2017-06-29 14:44:40 +0200
commit8be7e905e34a954938fa9b01f37c0e0d85b7000c (patch)
treef8b7ba17ed3f241b59f76ed63bfbd1c878bb0344 /erts/emulator/beam/beam_emu.c
parente5329c24eaee28e2a99bed2b045f9b2c8dbe4d93 (diff)
parent616a495f28783e05a95fd545c4a247f1a9177f81 (diff)
downloadotp-8be7e905e34a954938fa9b01f37c0e0d85b7000c.tar.gz
otp-8be7e905e34a954938fa9b01f37c0e0d85b7000c.tar.bz2
otp-8be7e905e34a954938fa9b01f37c0e0d85b7000c.zip
Merge branch 'maint'
Diffstat (limited to 'erts/emulator/beam/beam_emu.c')
-rw-r--r--erts/emulator/beam/beam_emu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/beam_emu.c b/erts/emulator/beam/beam_emu.c
index e49a408af8..27d19d2504 100644
--- a/erts/emulator/beam/beam_emu.c
+++ b/erts/emulator/beam/beam_emu.c
@@ -6844,7 +6844,7 @@ apply_fun(Process* p, Eterm fun, Eterm args, Eterm* reg)
}
if (is_not_nil(tmp)) { /* Must be well-formed list */
- p->freason = EXC_UNDEF;
+ p->freason = EXC_BADARG;
return NULL;
}
reg[arity] = fun;