aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorErlang/OTP <[email protected]>2016-04-01 20:18:50 +0200
committerErlang/OTP <[email protected]>2016-04-01 20:18:50 +0200
commit75f3e0c30face477da5de22c828b28cf32fca9ab (patch)
treef69d48f0e5d4cbd3004861b6629e1e49a363561a /erts
parent488f8b45695cacb3b3e1162ac132596f04d0e00d (diff)
parentaaecaac6a392eb8bc6362d1a523858846ac8d670 (diff)
downloadotp-75f3e0c30face477da5de22c828b28cf32fca9ab.tar.gz
otp-75f3e0c30face477da5de22c828b28cf32fca9ab.tar.bz2
otp-75f3e0c30face477da5de22c828b28cf32fca9ab.zip
Merge branch 'lukas/erts/fix_enomem_error_code/OTP-13419' into maint-18
* lukas/erts/fix_enomem_error_code/OTP-13419: erts: Create erl_crash.dump when out of memory
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/beam/erl_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_alloc.c b/erts/emulator/beam/erl_alloc.c
index 0877c24404..5f8cd2bbf7 100644
--- a/erts/emulator/beam/erl_alloc.c
+++ b/erts/emulator/beam/erl_alloc.c
@@ -1923,7 +1923,7 @@ erts_alc_fatal_error(int error, int func, ErtsAlcType_t n, ...)
va_start(argp, n);
size = va_arg(argp, Uint);
va_end(argp);
- erts_exit(1,
+ erts_exit(ERTS_DUMP_EXIT,
"%s: Cannot %s %lu bytes of memory (of type \"%s\").\n",
allctr_str, op, size, t_str);
break;