aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_fun.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-03-01 14:44:50 +0100
committerSverker Eriksson <[email protected]>2016-03-01 14:44:50 +0100
commit59a0f98dd954b15fda9b2c96878163ffdfff30d1 (patch)
tree5ba6370d734f1b9389f465cbccfc83d4104b3ac6 /erts/emulator/beam/erl_fun.c
parentaa74dd15c39d6b859456aafd78d435763436725d (diff)
parent03743cd4193a2ca97f9b9a52a25e63f616e8fc07 (diff)
downloadotp-59a0f98dd954b15fda9b2c96878163ffdfff30d1.tar.gz
otp-59a0f98dd954b15fda9b2c96878163ffdfff30d1.tar.bz2
otp-59a0f98dd954b15fda9b2c96878163ffdfff30d1.zip
Merge branch 'sverk/master/halt-INT_MIN'
* sverk/master/halt-INT_MIN: erts: Make erlang:halt() accept bignums as Status erts: Change erl_exit into erts_exit kernel: Remove calls to erl_exit
Diffstat (limited to 'erts/emulator/beam/erl_fun.c')
-rw-r--r--erts/emulator/beam/erl_fun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_fun.c b/erts/emulator/beam/erl_fun.c
index cff476694c..ed555aa92f 100644
--- a/erts/emulator/beam/erl_fun.c
+++ b/erts/emulator/beam/erl_fun.c
@@ -188,7 +188,7 @@ erts_erase_fun_entry(ErlFunEntry* fe)
#endif
{
if (fe->address != unloaded_fun)
- erl_exit(1,
+ erts_exit(ERTS_ERROR_EXIT,
"Internal error: "
"Invalid reference count found on #Fun<%T.%d.%d>: "
" About to erase fun still referred by code.\n",