aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_bif_chksum.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2018-05-21 13:52:47 +0200
committerSverker Eriksson <[email protected]>2018-06-04 16:28:47 +0200
commit9611459cddf27fd648aad4d799ca1fc4cf92f351 (patch)
tree75805eb7ffaa30f6423c28d76d78e0ec3ae03f88 /erts/emulator/beam/erl_bif_chksum.c
parent1c8365272a55301609dc8c46aa49fa0ac048506e (diff)
downloadotp-9611459cddf27fd648aad4d799ca1fc4cf92f351.tar.gz
otp-9611459cddf27fd648aad4d799ca1fc4cf92f351.tar.bz2
otp-9611459cddf27fd648aad4d799ca1fc4cf92f351.zip
erts: Refactor usage of am_atom_put to ERTS_MAKE_AM
and let compiler determine string lengths. These were actually wrong in erl_db.c: count_trap\0 replace_tra select_tra
Diffstat (limited to 'erts/emulator/beam/erl_bif_chksum.c')
-rw-r--r--erts/emulator/beam/erl_bif_chksum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_bif_chksum.c b/erts/emulator/beam/erl_bif_chksum.c
index 9095bcd380..cf92687595 100644
--- a/erts/emulator/beam/erl_bif_chksum.c
+++ b/erts/emulator/beam/erl_bif_chksum.c
@@ -44,7 +44,7 @@ void erts_init_bif_chksum(void)
{
/* Non visual BIF to trap to. */
erts_init_trap_export(&chksum_md5_2_exp,
- am_erlang, am_atom_put("md5_trap",8), 2,
+ am_erlang, ERTS_MAKE_AM("md5_trap"), 2,
&md5_2);
}