aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/beam_bif_load.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2017-01-09 13:57:34 +0100
committerSverker Eriksson <[email protected]>2017-01-09 13:57:34 +0100
commit5bf38ca930b75189cc83ed01e4a34eeb6a0892d2 (patch)
treeb3a0f7f472d1bba192772ee2ce640beed2067ede /erts/emulator/beam/beam_bif_load.c
parent3473ecd83a7bbe7e0bebb865f25dddb93e3bf10f (diff)
downloadotp-5bf38ca930b75189cc83ed01e4a34eeb6a0892d2.tar.gz
otp-5bf38ca930b75189cc83ed01e4a34eeb6a0892d2.tar.bz2
otp-5bf38ca930b75189cc83ed01e4a34eeb6a0892d2.zip
erts: Fix error report message for erlang:delete/1
Diffstat (limited to 'erts/emulator/beam/beam_bif_load.c')
-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);