aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2017-01-09 14:00:19 +0100
committerSverker Eriksson <[email protected]>2017-01-09 14:00:19 +0100
commit61547cab473396ac5ec03b491fd74c8fe7e7ce54 (patch)
tree5d37fcbc3eb7ae3587afa1ab6ab80d0cda1938b5 /erts/emulator/beam
parent2a3dd48a0bfffbaf43622972a75bd733c23b31d4 (diff)
parent5bf38ca930b75189cc83ed01e4a34eeb6a0892d2 (diff)
downloadotp-61547cab473396ac5ec03b491fd74c8fe7e7ce54.tar.gz
otp-61547cab473396ac5ec03b491fd74c8fe7e7ce54.tar.bz2
otp-61547cab473396ac5ec03b491fd74c8fe7e7ce54.zip
Merge branch 'sverker/delete_module-error-msg/ERL-334' into maint
* sverker/delete_module-error-msg: erts: Fix error report message for erlang:delete/1
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r--erts/emulator/beam/beam_bif_load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/beam_bif_load.c b/erts/emulator/beam/beam_bif_load.c
index ea1323d651..644fd9fbf9 100644
--- a/erts/emulator/beam/beam_bif_load.c
+++ b/erts/emulator/beam/beam_bif_load.c
@@ -658,7 +658,7 @@ BIF_RETTYPE delete_module_1(BIF_ALIST_1)
}
else if (modp->old.code_hdr) {
erts_dsprintf_buf_t *dsbufp = erts_create_logger_dsbuf();
- erts_dsprintf(dsbufp, "Module %T must be purged before loading\n",
+ erts_dsprintf(dsbufp, "Module %T must be purged before deleting\n",
BIF_ARG_1);
erts_send_error_to_logger(BIF_P->group_leader, dsbufp);
ERTS_BIF_PREP_ERROR(res, BIF_P, BADARG);