aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/atom.c
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2018-03-05 12:55:13 +0100
committerJohn Högberg <[email protected]>2018-03-09 08:34:22 +0100
commit4d4629605ab7d3c3a5268502dadcf639151d6c42 (patch)
tree78e8d2f9bdea7cd08053be0df26099e88a784fbb /erts/emulator/beam/atom.c
parentca9e3cea6cfdad0d99dcef149cb0ba1d1e1e98f2 (diff)
downloadotp-4d4629605ab7d3c3a5268502dadcf639151d6c42.tar.gz
otp-4d4629605ab7d3c3a5268502dadcf639151d6c42.tar.bz2
otp-4d4629605ab7d3c3a5268502dadcf639151d6c42.zip
Always use sys_memcpy/cmp/etc instead of plain memcpy/cmp/etc
Diffstat (limited to 'erts/emulator/beam/atom.c')
-rw-r--r--erts/emulator/beam/atom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/atom.c b/erts/emulator/beam/atom.c
index bbe1cb3e11..e5b7616a0d 100644
--- a/erts/emulator/beam/atom.c
+++ b/erts/emulator/beam/atom.c
@@ -452,7 +452,7 @@ init_atom_table(void)
/* Ordinary atoms */
for (i = 0; erl_atom_names[i] != 0; i++) {
int ix;
- a.len = strlen(erl_atom_names[i]);
+ a.len = sys_strlen(erl_atom_names[i]);
a.latin1_chars = a.len;
a.name = (byte*)erl_atom_names[i];
a.slot.index = i;